diff --git a/packages/excalidraw/components/App.tsx b/packages/excalidraw/components/App.tsx index ff8c273b7..1f44a81a5 100644 --- a/packages/excalidraw/components/App.tsx +++ b/packages/excalidraw/components/App.tsx @@ -8320,9 +8320,7 @@ class App extends React.Component { 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 // able to select and interact with the text input