Commit e9497e3
authored
When the EditorView is re-created (e.g. toggling editable) while the
side menu is visible, a queued floating-ui scroll callback can fire
after view.state has been cleared, causing a TypeError. Use optional
chaining so the early return covers that case.
1 parent 15eab07 commit e9497e3
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
785 | 785 | | |
786 | 786 | | |
787 | 787 | | |
788 | | - | |
789 | | - | |
| 788 | + | |
| 789 | + | |
790 | 790 | | |
791 | 791 | | |
792 | 792 | | |
| |||
0 commit comments