Skip to content

Fix: Enable TinyMCE Dropdown Interactions Inside Dialog Component #7776

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

chiraagsharma24
Copy link

This PR resolves issue #7690, which caused TinyMCE dropdowns and popups to become unclickable when the editor was rendered inside a Dialog component.

fixes #7690

Fix Summary
Configured TinyMCE to append popups directly to document.body using append_to: document.body.

Applied a global CSS override to increase the z-index of TinyMCE UI elements, ensuring they appear above the Dialog’s overlay.

Impact
Only affects TinyMCE behavior inside Dialog components.

Does not interfere with other components, modals, or editor logic.

Tested
Verified that all TinyMCE dropdowns (font, size, format, etc.) are now accessible and selectable within dialogs.

Confirmed expected behavior across different screen sizes and layers.

Copy link

vercel bot commented Jul 9, 2025

@chiraagsharma24 is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug]: unable to scroll and select inside dialog component
1 participant