refactor(ui): perfectly restore MaxSizedBox and focus strictly on bubbling fix

This commit is contained in:
Coco Sheng
2026-03-11 14:35:35 -04:00
parent 103c595975
commit c2353b4752
@@ -55,7 +55,7 @@ export const MaxSizedBox: React.FC<MaxSizedBoxProps> = ({
const observer = new ResizeObserver((entries) => {
const entry = entries[0];
if (entry) {
setContentHeight(entry.contentRect.height);
setContentHeight(Math.round(entry.contentRect.height));
}
});
observer.observe(node);