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

Perma-characters must be manually deleted on older Android devices #4

Closed
crookedneighbor opened this issue Aug 3, 2016 · 1 comment

Comments

@crookedneighbor
Copy link
Contributor

crookedneighbor commented Aug 3, 2016

To reproduce open this page a Galaxy S3/S5/S7 and type using the default virtual keyboard in the default browser. https://crookedneighbor.github.io/restricted-input-android-formatting-bug/

When deleting the characters, you have to manually delete the spaces. This happens because older Android devices don't emit the backspace key on the keypress event.

@crookedneighbor crookedneighbor changed the title Formatting not working on some Android keyboards Perma-characters must be manually deleted on older Android devices Sep 15, 2016
@crookedneighbor
Copy link
Contributor Author

We tried a few different approaches to get this working, but ended up deciding to make this a wont-fix and close it.

Pertinent details:

  • Part of the reason this is happening because Android doesn't report the backspace or delete keys in the key events. event.key === 'Unidentified'
  • This only happens in older versions of the Android Operating system on the default (non-Google) keyboard
  • Attempts to fix it just introduced other weird edge cases

skunkworks pushed a commit that referenced this issue Nov 2, 2016
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

No branches or pull requests

1 participant