-
-
Notifications
You must be signed in to change notification settings - Fork 271
Closed
Labels
Description
Somewhere along the line CModal
's click listener that evaluates if you clicked outside the model or not has changed. It used to be attached to the modal content div but now it's attached to document
, meaning it runs after React event handlers.
If you have a modal where elements are removed as they're clicked, to replace with something else, the modal will close prematurely.
Please see my test case here --> stackblitz
- Windows
- Edge/Firefox
Vladymyrdev, danielhoegel and matr369