Commit 484d7da
committed
fix: do not return focus back to menu
Took me forever to debug, but this was breaking the ability to:\
- make a text selection
- add a text color to it through the formatting toolbar
- arrow-left to collapse the selection & hide the formatting toolbar
It seems that [mantine chose to add a default of `returnFocus` to mantine menus](mantinedev/mantine@226d251), meaning when they close, that the focus would be moved back to the menu
This broke us wanting to move the selection back to the editor, it was instead being trapped by the menu and unable to move back to the editor1 parent ce995ee commit 484d7da
File tree
1 file changed
+1
-0
lines changed1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
0 commit comments