mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
refactoring
This commit is contained in:
parent
7c804d72bb
commit
97420a09df
1 changed files with 4 additions and 2 deletions
|
@ -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 });
|
||||
});
|
||||
};
|
||||
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue