You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bug occurs when using TinyMCE-react inside a Reach Dialog, and subsequently opening a TinyMCE-react dialog. This can be seen, when using the menu item Insert | Image. The second modal dialog that pops up does not allow you to interact with the textbox controls. However, the buttons work, and the dialog can be dismissed.
Expected behavior
The TinyMCE-react Image dialog modal should allow you to type data into the textboxes. Other TinyMCE-react modals have the same problem.
chaance
changed the title
TinyMCE-React dialogs are not usable from a Reach Dialog.
[dialog]: TinyMCE-React dialogs are not usable from a Reach Dialog.
Apr 21, 2021
Hi, I've been investing it and the problem is focusLock not letting you focus elements inside the second modal.
@chaance do we really need to use react-focus-lock for focus management of modal? cuz we aren't using so many of its features. what do you think about writing a custom focus lock and use that instead? and users can install/use react-focus-lock if they wanted more advanced features.
🐛 Bug report
Current Behavior
This bug occurs when using TinyMCE-react inside a Reach Dialog, and subsequently opening a TinyMCE-react dialog. This can be seen, when using the menu item Insert | Image. The second modal dialog that pops up does not allow you to interact with the textbox controls. However, the buttons work, and the dialog can be dismissed.
Expected behavior
The TinyMCE-react Image dialog modal should allow you to type data into the textboxes. Other TinyMCE-react modals have the same problem.
Reproducible example
https://codesandbox.io/s/infallible-voice-b8zid?file=/src/index.js
Your environment
The text was updated successfully, but these errors were encountered: