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

Component's behaviour in tablet, mobile #150

Open
LidaDimitriadi opened this issue Jan 17, 2018 · 0 comments
Open

Component's behaviour in tablet, mobile #150

LidaDimitriadi opened this issue Jan 17, 2018 · 0 comments

Comments

@LidaDimitriadi
Copy link

Expected Behavior

When user types a date, the component should automatically add "/" and the cursor should always be at the end of the string.

Current Behavior

On tablet or mobile (android-chrome, possibly ios), when user types a date and the "/" is displayed, the cursor moves before the last char.

For example user types: 12/1 and cursor moves before the "1" char so if he continues the result is 12/01 instead of 12/10.

It probably has to do with the keypress, keyup events which chrome on tablet/mobile doesn't recognise.

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