Bubbling and propagation problem in nested dialog #342
Labels
bl-dialog
Issues related with Dialog component
bug
Something isn't working
released on @beta
released
Describe the bug
When using nested dialog in the Vue 2 project, we noticed that every dialog closes when we click the close button of the child dialog or press the esc key.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
When we click the close button of child dialog or esc key we should only see it close.
Desktop (please complete the following information):
Additional context
This problem probably occur because of bubbling and propagation. When I add the stop (it is equal event.stopPropagation()) like this:
The
stop
fixes the close button problem but esc problem is going on.The text was updated successfully, but these errors were encountered: