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

bug: Date based inputs behave poorly with focus cloning #3944

Closed
jeremyrussell opened this issue Jun 15, 2015 · 1 comment
Closed

bug: Date based inputs behave poorly with focus cloning #3944

jeremyrussell opened this issue Jun 15, 2015 · 1 comment

Comments

@jeremyrussell
Copy link

Type: bug

Platform: ios 8 webview

When an input field is given focus, it is cloned by ionic and moved off screen, from what I have read this feature was introduced to resolve cursor issues. This functionality exhibits a weird behaviour for date based inputs (i.e. date, time, datetime-local and month), in that when the input has focus and the page is scrolled the value of the input is not displayed. I'm not sure why this is, however I found that by simply excluding date based inputs from the cloning process, my problem was resolved.

Here is my simple code change: master...jeremyrussell:cloned-input-focus-scroll-issue

I have also uploaded a video to youtube to illustrate the issue:
https://youtu.be/3vFXEEDXiGg

And, here's a codepen: http://codepen.io/jeremyrussell/pen/bdreGK
Note, however that the app needs to be run as a hybrid app to reproduce the error

@mhartington
Copy link
Contributor

Should be fixed in d3c3e8c

jarjee pushed a commit to jarjee/ionic that referenced this issue Sep 1, 2015
@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants