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 selectize.js selectOnTab option back to false #3935

Merged
merged 2 commits into from
Oct 31, 2023

Conversation

cpsievert
Copy link
Collaborator

@cpsievert cpsievert commented Oct 31, 2023

Closes #3934

For some historical context, selectize.js v0.13.0 changed the default for the selectOnTab option from false to true to address this issue. As a result, when we updated selectize.js from 0.12.4 to 0.15.2 (via #3875), that default changed (implicitly).

Changing from false to true makes sense if you focus solely on the behavior outlined in that selectize.js issue (i.e., Tab clearing an active search when you might expect it to select the item), but it debate-able whether this makes the overall experience better since Tab-ing through a document will wind up (unexpectedly) selecting items.

@cpsievert cpsievert requested a review from gadenbuie October 31, 2023 20:31
@cpsievert cpsievert merged commit b850cd2 into main Oct 31, 2023
@cpsievert cpsievert deleted the selectOnTabDefault branch October 31, 2023 21:45
Copy link
Member

@gadenbuie gadenbuie left a comment

Choose a reason for hiding this comment

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

Thanks!

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.

inputSelectize() should set option selectOnTab = FALSE by default
2 participants