Replies: 2 comments
-
@ryanpager I encountered the same issue when adding a TinyMCE element to a Dialog (slider) I saw this comment here that the focus trap is that way be design so no way to override it, so instead of trying to handle the click events I tried to just move the That seems to work fine, and the overlay click-to-close also works as expected. I'm using React so my workaround was to add a Pretty ugly but I'm happy with it :) |
Beta Was this translation helpful? Give feedback.
-
Still no proper way to do this I guess? I've been using many dialogs in my application and focus-trap is hurting my head. I fix one issue and another issue all due to the focus trap. |
Beta Was this translation helpful? Give feedback.
-
I am trying to incorporate TinyMCE into my application (vue3, tailwind 2, headless ui). It seems like the focus trap is overriding all actions when tinymce pops their modals (i.e. hitting the code button).
My question is -- is there a way to override the Dialog component focus trap?
It seems like the Dialog is catching focus events, and wont allow any other clicks in the text areas.
Any help would be awesome.
Beta Was this translation helpful? Give feedback.
All reactions