You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primevue/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=110
Open a Modal with an input field in it. I added an example above.
Type a value into the input if it's empty.
Select the value with your mouse, while holding down the left mouse key.
Hold the left mouse button and navigate into the modal background area and release the button.
The modal closes.
Expected behavior
The modal should not close if the click was initiated in the modal content. The position of the release of the mouse click should not have an impact on the modal behavior.
What is the motivation / use case for changing the behavior?
People get annoyed when they want to fill in a form in a modal and then close the modal when selecting / copying text. That is a bit unattractive.
Vue version:vue@next / vue@latest (see Codesandbox)
PrimeVue version:primevue@^3 (see Codesandbox)
Browser: all
The text was updated successfully, but these errors were encountered:
I'm submitting a ... (check one with "x")
CodeSandbox Case (Bug Reports)
https://codesandbox.io/s/wizardly-rgb-rcxms8?file=/index.html
Current behavior
Expected behavior
The modal should not close if the click was initiated in the modal content. The position of the release of the mouse click should not have an impact on the modal behavior.
Minimal reproduction of the problem with instructions
https://codesandbox.io/s/wizardly-rgb-rcxms8?file=/index.html
What is the motivation / use case for changing the behavior?
People get annoyed when they want to fill in a form in a modal and then close the modal when selecting / copying text. That is a bit unattractive.
vue@next
/vue@latest
(see Codesandbox)primevue@^3
(see Codesandbox)The text was updated successfully, but these errors were encountered: