reach/reach-ui

[dialog]: TinyMCE-React dialogs are not usable from a Reach Dialog.

Open

#785 opened on Apr 15, 2021

View on GitHub
 (1 comment) (0 reactions) (0 assignees)TypeScript (558 forks)auto 404
Help WantedType: Bug

Repository metrics

Stars
 (5,975 stars)
PR merge metrics
 (PR metrics pending)

Description

🐛 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

Software Name(s) Version
Reach Package "@reach/dialog" 0.10.3
React react 16.8.6
Browser Chrome 89.0.4389.128
Assistive tech
Node
npm/yarn yarn 1.22.4
Operating System MacBook Catalina

Contributor guide