fix: remove flushSync to fix flickering (#9057)

pull/8910/merge
David Luzar 3 days ago committed by GitHub
parent 65f218b100
commit 7028daa44a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -8320,9 +8320,7 @@ class App extends React.Component<AppProps, AppState> {
this.scene.getNonDeletedElementsMap(),
);
flushSync(() => {
this.setState({ snapLines });
});
// when we're editing the name of a frame, we want the user to be
// able to select and interact with the text input

Loading…
Cancel
Save