ubuntu.com icon indicating copy to clipboard operation
ubuntu.com copied to clipboard

Contact form modal closes unexpectedly when selecting text

Open sowasred2012 opened this issue 2 years ago • 1 comments

What happens

When entering information into an input field in a contact form modal, if you decide to select the text in an input and then release the mouse button over the opaque modal background, the modal closes unexpectedly. Releasing the mouse button while still within the modal doesn't.

What I expect to happen

The modal should stay open regardless of where the mouse button is released when selecting text within the form.

Video

You can't see the cursor in this unfortunately, but it's easily recreated: Peek 2022-05-26 12-10

sowasred2012 avatar May 26 '22 11:05 sowasred2012

Maybe we should remove the background close functionality? If implemented it should be in Vanilla modal?

carkod avatar May 31 '22 09:05 carkod