Skip to content

Conversation

@afv
Copy link
Contributor

@afv afv commented Feb 4, 2025

Many times I close modals by accident when selecting text, because the listener is click (does not matter when the mousedown began, only where the mouseup ends), for example:

2025-02-04_immich_modal_close.mp4

This is a suggested fix.

Copy link
Member

@alextran1502 alextran1502 left a comment

Choose a reason for hiding this comment

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

Thank you, I've been wanting to do a full sweep of this behavior across all forms components on the web

@alextran1502 alextran1502 enabled auto-merge (squash) February 4, 2025 13:43
@alextran1502 alextran1502 merged commit 97574d7 into immich-app:main Feb 4, 2025
34 of 35 checks passed
@afv afv deleted the fix/accidental-modal-close branch February 5, 2025 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants