mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-08-19 16:27:04 +02:00
fix: remove flushSync to fix flickering (#9057)
This commit is contained in:
@@ -8320,9 +8320,7 @@ class App extends React.Component<AppProps, AppState> {
|
|||||||
this.scene.getNonDeletedElementsMap(),
|
this.scene.getNonDeletedElementsMap(),
|
||||||
);
|
);
|
||||||
|
|
||||||
flushSync(() => {
|
this.setState({ snapLines });
|
||||||
this.setState({ snapLines });
|
|
||||||
});
|
|
||||||
|
|
||||||
// when we're editing the name of a frame, we want the user to be
|
// when we're editing the name of a frame, we want the user to be
|
||||||
// able to select and interact with the text input
|
// able to select and interact with the text input
|
||||||
|
Reference in New Issue
Block a user