WIP: "mouse-up" outside controls dropdown, is enough to close it

The best practice, theoretically and from experience, seems to be that both the mouse down and up pointer events should be outside the modal for it to count as a close.

Otherwise it’s creating issues like when selecting text in the example in the video. I’m very often, accidentally closing them trying to select text.

HTML Standard, Edition for Web Developers.

Hi @andreaschrysopoulos,

I agree. I’ve created an internal task for this. Can you just let me know in which browser you are testing? Because in my tests, I could replicate it easily in Chrome, but not in Firefox.

Thank you,
Matej

Hey, you’re right it’s not happening on Firefox. Just on Chrome and Safari.

Ok, perfect. Thanks for confirming. I’ve noted it in the internal task.

Matej