question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dialog takes focus, can we add notice about such default behavior in docs?

See original GitHub issue

Not sure where to post such info but when using material-ui Dialog and rendering tinymce inside it, material-ui dialog is getting focus by default which makes tinymce dialogs uneditable.

The solution is to add disableEnforceFocus to the dialog. Would like to mention such info somewhere on documentation but can’t decide where and what sentence would be best to provide such notice. I believe people have the same issue with any other dialog rendered inside material-ui Dialog. It was a headache for some time, would love to have noticed on docs.

I believe having some yellowish notice here https://material-ui.com/demos/dialogs/ would make sense.

image

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:12
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
oliviertassinaricommented, Sep 27, 2018

How do you think we should handle the issue?

1reaction
liesislukascommented, Jul 29, 2019

so i assume disableAutoFocus={true} would solve this? Can’t try atm

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dialog takes focus, can we add notice about such default ...
The solution is to add disableEnforceFocus to the dialog. Would like to mention such info somewhere on documentation but can't decide where and ......
Read more >
Edit documents with a screen reader - Google Docs Editors Help
You can edit documents on your computer using a screen reader. First, make sure that you've turned on Docs screen reader support. If...
Read more >
The Dialog element - HTML: HyperText Markup Language
Indicates that the dialog is active and can be interacted with. When the open attribute is not set, the dialog shouldn't be shown...
Read more >
How to Make Dialogs (The Java™ Tutorials > Creating a GUI ...
To create simple, standard dialogs, you use the JOptionPane class. The ProgressMonitor class can put up a dialog that shows the progress of...
Read more >
Dialog Widget | jQuery UI API Documentation
Upon opening a dialog, focus is automatically moved to the first item that matches the following: The first element within the dialog with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found