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

Caret moving to next to last position on Chrome android #51

Closed
dusnoki opened this issue Jul 29, 2016 · 15 comments
Closed

Caret moving to next to last position on Chrome android #51

dusnoki opened this issue Jul 29, 2016 · 15 comments

Comments

@dusnoki
Copy link

dusnoki commented Jul 29, 2016

I have an issue with the component. When using it with a standard desktop web browser i don't have this issue. But on Android when the last character is entered (from the limit) the caret moves back 1 space.

You can see it I made a screen capture on my phone.

https://www.dropbox.com/s/2o2ltd35uca165b/2016_07_29_22_40_38_22_50_29_22_51_58_22_54_21_22_54_59.gif?dl=0

@sanniassin
Copy link
Owner

@dusnoki Need more info to reproduce:

  • Device model
  • Android version
  • Browser version

Can you also try this pen – http://codepen.io/sanniassin/pen/vKVvVX to make sure it's not related to your code?

@dusnoki
Copy link
Author

dusnoki commented Aug 8, 2016

Device model: Note 4 (N910F)
Android Version: 6.0.1 Marshmallow
Browser version: Chrome 52.0.2743.98

I tried this pen and it also has the same results... caret moves one position back when last char is entered.

@sanniassin
Copy link
Owner

@dusnoki Thank you. I have no Android devices and can't reproduce this issue in Genymotion, so i need your help to fix it. Can you investigate into it and make a PR or find an emulator which will be able to reproduce?

@dusnoki
Copy link
Author

dusnoki commented Aug 11, 2016

I tried the codepen on firefox and android stock browser and they seem to work fine... Only chrome is giving me this issue. I'll try to investigate what is the problem.

@IlanaB
Copy link

IlanaB commented Aug 15, 2016

I am also experiencing this issue. It's not reproducible in desktop but on Samsung Galaxy S7 Edge on Chrome v46. When adding the last character to the mask the cursor stays in the second last position and the field doesn't validate properly with the shown value.

@sanniassin
Copy link
Owner

@IlanaB @dusnoki Are you using native Android keyboard or TouchWiz one or something else?

@IlanaB
Copy link

IlanaB commented Aug 16, 2016

@sanniassin I am using the native keyboard

@sanniassin
Copy link
Owner

@IlanaB @dusnoki Is it fixed in this pen? http://codepen.io/sanniassin/pen/dXAvyd

@IlanaB
Copy link

IlanaB commented Aug 16, 2016

I'm struggling to use that pen from my device. It's hiding the input field
so I can't see it as I am typing
Is it possible to add some space to the bottom below the input so that i
can scroll down?

On Tue, 16 Aug 2016 at 15:38 sanniassin notifications@github.com wrote:

@IlanaB https://github.com/IlanaB @dusnoki https://github.com/dusnoki
Is it fixed in this pen? http://codepen.io/sanniassin/pen/dXAvyd


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#51 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADcAAQXEDteGHuMDRjGyK1CnzhqbxVNmks5qghGggaJpZM4JYkkZ
.

@sanniassin
Copy link
Owner

@IlanaB Usually rotating phone to landscape helps. I've also commited fix so you can try it in your project.

@sanniassin
Copy link
Owner

@IlanaB @dusnoki Does it working fine now?

@IlanaB
Copy link

IlanaB commented Aug 19, 2016

@sanniassin I won't be able to confirm until next week, thank you for looking into this so quickly though!

@sanniassin
Copy link
Owner

@IlanaB You're welcome. I'll wait, just want to be sure before publishing update on npm.

@sanniassin
Copy link
Owner

@IlanaB @dusnoki I'll close this issue as it seems to be fixed. Let me know if it not.

@dusnoki
Copy link
Author

dusnoki commented Sep 19, 2016

@sanniassin it is working fine in the new codepen. Thnx for the fix guys :)

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

3 participants