1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00

refactoring

This commit is contained in:
Andrew Simachev 2025-04-11 13:23:04 +02:00
parent 7c804d72bb
commit 97420a09df
No known key found for this signature in database
GPG key ID: 1DFE44B21443F0EF

View file

@ -1162,8 +1162,10 @@ const ChatForm = observer(class ChatForm extends React.Component<Props, State> {
return;
};
dummy.css({ width: node.outerWidth(true), height: node.outerHeight(true) });
node.css({ left: dummy.offset().left });
raf(() => {
dummy.css({ width: node.outerWidth(true), height: node.outerHeight(true) });
node.css({ left: dummy.offset().left });
});
};
});