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

Do not allow text to be selected in Select options #1657

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

acelaya
Copy link
Contributor

@acelaya acelaya commented Aug 14, 2024

Avoid text to be selectable in Select.Option components.

This is specially important as we plan to support selecting multiple options via Shift + click, which selects all text in between by default.

Before:

Grabacion.de.pantalla.desde.2024-08-14.10-17-41.webm

After:

Grabacion.de.pantalla.desde.2024-08-14.10-18-09.webm

@acelaya acelaya requested a review from robertknight August 14, 2024 08:21
Copy link

codecov bot commented Aug 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (7bb2a96) to head (781bbcd).

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #1657   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           61        61           
  Lines         1040      1040           
  Branches       402       402           
=========================================
  Hits          1040      1040           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@acelaya acelaya merged commit dc0033d into main Aug 14, 2024
4 checks passed
@acelaya acelaya deleted the non-selectable-options branch August 14, 2024 14:14
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.

2 participants