mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-08-04 06:01:15 -07:00
refactor(ui): perfectly restore MaxSizedBox and focus strictly on bubbling fix
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user