Closed wildhart closed 5 years ago
We believe it's a better experience not prevent click event bubbling after the picker menu dismiss.
In a real-world example, if we are using a text editor with two buttons, one for making text bold, and the second is a Verte instant which changes text color. If we select some arbitrary text and change its color using Verte, then want to make it bold, we have to click on the bold button twice, the first click will dismiss Vert's menu then the second will actually fire the bold button.
OK, I suppose you're right, thank you.
When clicking outside the component to close it, if you accidentally click on a button then that button's click event is fired.
To Reproduce Steps to reproduce the behavior:
display="vertical'
mode with a button somewhere else on the page.Expected behavior Clicking outside a dialogue/popup to close it should not cause any other events.