Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UiModal: close on backdrop click only if backdrop also got mousedown #497

Merged
merged 6 commits into from
Dec 31, 2021

Conversation

TheDirigible
Copy link
Contributor

… got the mousedown event

Currently, users selecting text within the modal and releasing the mouse outside the modal are surprised that the modal closes.

Copy link
Owner

@JosephusPaye JosephusPaye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Just a few suggestions:

Will also need to update the docs to add the new prop.

src/UiModal.vue Outdated Show resolved Hide resolved
src/UiModal.vue Outdated Show resolved Hide resolved
src/UiModal.vue Outdated Show resolved Hide resolved
TheDirigible and others added 3 commits May 8, 2020 06:50
Co-authored-by: Josephus Paye II <j.paye96@gmail.com>
Co-authored-by: Josephus Paye II <j.paye96@gmail.com>
Co-authored-by: Josephus Paye II <j.paye96@gmail.com>
@TheDirigible
Copy link
Contributor Author

Thanks for the PR! Just a few suggestions:

Sure, sounds good!

@JosephusPaye
Copy link
Owner

Thanks for the update, will merge for the next release.

src/UiModal.vue Outdated Show resolved Hide resolved
@JosephusPaye JosephusPaye changed the title changed modal backdrop to only respond to clicks if the backdrop also… UiModal: close on backdrop click only if backdrop also got mousedown Dec 31, 2021
@JosephusPaye JosephusPaye merged commit 88eb76a into JosephusPaye:next Dec 31, 2021
@JosephusPaye
Copy link
Owner

Thanks!

@JosephusPaye
Copy link
Owner

Released in v1.3.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants