Skip to content

Delimiter is ignored on input in Chrome Android #321

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
ghost opened this issue Mar 6, 2014 · 4 comments
Closed

Delimiter is ignored on input in Chrome Android #321

ghost opened this issue Mar 6, 2014 · 4 comments

Comments

@ghost
Copy link

ghost commented Mar 6, 2014

  1. Go to http://brianreavis.github.io/selectize.js/
  2. Type "test," into the Tags example
  3. Notice that the delimiter was ignored and you're still working on the same tag

Happens on Android 4.4, Moto X, Chrome 33. Blink version 537.36, on various keyboards (felt it was worth checking).

Going to look into it further when I have a chance, but if you have any questions let me know.

Edit: https://code.google.com/p/chromium/issues/detail?id=118639 seems to be the root cause, which has been open for over two years. Chrome for Android doesn't fire onKeyPress events.

@joallard
Copy link
Member

Is this the same thing as #113? Meaning, if #113 is fixed, does it automatically fix this one?

@ghost
Copy link
Author

ghost commented Jul 21, 2016

Maybe, but it looks like the related Chrome issue is marked WONTFIX, so I think the only solution is going to be a hacky one.

Looking into your investigation on #113 I'm not sure, though. The fact that you were seeing keydown/keyup events at all makes me wonder if they are linked, but I can still repro this unfortunately.

@joallard
Copy link
Member

Ah, I get it. If we start detecting backspace piecemeal, doesn't mean we detect $DELIMITER too. sigh Chrome

@joallard joallard changed the title Chrome for Mobile - Delimiter is ignored for tags. Delimiter is ignored on input in Chrome Android Jul 27, 2016
@joallard joallard added this to the 1.0 milestone Jul 27, 2016
agorodezki pushed a commit to agorodezki/selectize.js that referenced this issue Nov 25, 2016
Fix for Android keypress and wrong keycode (selectize#321, selectize#113)
@risadams
Copy link
Contributor

closing stale issues older than one year.
If this issue was closed in error please message the maintainers.
All issues must include a proper title, description, and examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants