Input is duplicated and reversed on devices with Android < 7.0
See original GitHub issueExpected behavior
Entering 123
should format the input to 123 €
Actual behavior
Entering 123
resulted in 123.321 €
on SAMSUNG GALAXY S5 (Android 6.0.1, Chrome v61)
Entering 123
resulted in 12.321 €
on HTC ONE (Android 5.0.2, Chrome v61)
Steps to reproduce the problem
- I tested this using autoNumeric
v4.1.0
and the browserChrome
version61
onAndroid 6.0.1
andAndroid 5.0.2
, - I used the example from http://autonumeric.org
I’ve had no problems with autoNumeric on devices using Android > v7.0.
Best regards, J.
Issue Analytics
- State:
- Created 6 years ago
- Comments:38 (21 by maintainers)
Top Results From Across the Web
Browser input fields duplicated on focus ... - Issue Tracker
Issue: The stock browser in Android 4 (Ice Cream Sandwich) will create a duplicate of an input field when focused. When this field...
Read more >duplicate and incorrect characters inside input text field (after ...
I'm having a very similar issue on android 6.0 on a samsung device, using react + cordova. I'd type 123@1 , backspace twice...
Read more >Android 7.0, (N) Compatibility Definition
Introduction. This document enumerates the requirements that must be met in order for devices to be compatible with Android 7.0.
Read more >Migrate your existing splash screen implementation to Android ...
If your existing splash screen is implemented using a dedicated Activity , launching your app on devices running Android 12 or higher results...
Read more >Copy and Paste | Android Developers
To avoid duplicate displays of information, we strongly recommend removing any pop-up widget shown after an in-app copy for Android 13 and higher....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @danielmuehlbacher We currently faced the same issue but were finally able to pinpoint the source of it and why it only happens with Samsung Devices.
The issue is caused by the Samsung Keyboard Autocorrect Feature (“Text suggestions”). Credits to this finding goes to the Angular Community: https://github.com/assisrafael/angular-input-masks/issues/104
If you disable this Samsung Feature, the autoNumeric works as expected. As a more clean workaround (which does not require user interaction to globally disable the feature) it works, if you add this to the field which uses autoNumeric:
autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
This disables the Samsung autocomplete feature.
No chance for a beauty award, but a reliable solution…
Best Regards,
Jan
Magic! :godmode:
:trollface: