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

Change results mouseup to click event to avoid accidental selection after clear #6195

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Brainshaker95
Copy link

This pull request includes a

  • Bug fix / UX improvement
  • New feature
  • Translation

The following changes were made

The event for selecting results was changed from mouseup to click.
This prevents the undesirable behavior that options can be clicked by accident after clearing the select.
This is only relevant when clearing triggers a layout shift but I think since this is quite a commen use case this issue should be adressed somehow.

Resolves #6187

@Brainshaker95 Brainshaker95 changed the title Change results mouseup to click event to avoid accidental selection after clear (#6187) Change results mouseup to click event to avoid accidental selection after clear Oct 7, 2022
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.

Select2 automatically selects a value
1 participant