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
It appears that react-modal2 breaks dialogues (components that also use react-gateway) that require focus (e.g., inputs). This seems to be an effect of Modal.js#L10.
I'm not sure if I've seen this from other libraries, but it seems unnecessary. I also didn't find any tests for this 🤔 .
Anybody else having issues with this? 😓
The text was updated successfully, but these errors were encountered:
I'm having this problem as well. Rendering a react-modal2 appears to mess with the behavior of click handlers on the page. For example, I'd click an element that had a click handler attached, and instead of handling the click normally, it jumped the scroll position to the place the react-modal2 was located.
So I commented out the line on Modal.js#L10 per @srph's comment, and this problem went away. Haven't had time to figure out what the ideal fix for this would be.
It appears that react-modal2 breaks dialogues (components that also use react-gateway) that require focus (e.g., inputs). This seems to be an effect of Modal.js#L10.
I'm not sure if I've seen this from other libraries, but it seems unnecessary. I also didn't find any tests for this 🤔 .
Anybody else having issues with this? 😓
The text was updated successfully, but these errors were encountered: