Skip to content

Remove keypress checks to fix autogrow jitter for some characters. #1106

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

Closed

Conversation

Billiam
Copy link

@Billiam Billiam commented Jul 9, 2016

Addresses issue where common, non-(a-z/0-9) characters jogged left until a key was released.

#809

This PR uses the input event to avoid printable character checks entirely. Instead, just check the field value after something's been entered/removed/pasted/etc.

This breaks IE8/9 compatibility, so a polyfill may be required. This may not be acceptable, depending on long-term roadmap.

selectize

Updated demo page here: https://billiam.github.io/selectize.js

Use input event to avoid printable character checks. Instead,
just check the field value after something's been entered.

Addresses issue where common, non-(a-z0-9) characters jogged left until a
key was released.
@joallard
Copy link
Member

Quite elegant. Since this breaks IE8/9, let's classify this as a breaking change and schedule it for 1.0. If we can integrate a polyfill, I'd consider moving it forward.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2021

This pull request is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

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