fix: use active Excalidraw component when editing text (#3478)

* fix: use active excalidraw component when editing text

* changelog

* tweak
This commit is contained in:
Aakansha Doshi 2021-04-23 21:11:18 +05:30 committed by GitHub
parent 354976e08e
commit 891ac82447
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 3 deletions

View file

@ -1803,6 +1803,7 @@ class App extends React.Component<AppProps, AppState> {
this.focusContainer();
}),
element,
excalidrawContainer: this.excalidrawContainerRef.current,
});
// deselect all other elements when inserting text
this.setState({