[bug]: Dialog closes the Modal component #1154
Labels
issue: bug
Issue reporting a bug
source: design-system
relates to design-system package
status: pending reproduction
Waiting for free time to reproduce the issue, or more information
Milestone
What version of strapi-design-system are you using?
npm: 8.3.0.
node: 16.17.0
Strapi: 4.11.2
Design-system: 1.8.0
What's Wrong?
When I have a modal open, and this modal is going to open a confirmation window (Dialog component), any click on a button or not, closes the modal component.
It seems to me that the DismissableLayer is causing conflicts between Modal, Dialog and PopOver.
To Reproduce
Expected Behaviour
To be able to interact with the dialog without affecting the layers behind it such as the modal.
The text was updated successfully, but these errors were encountered: