Skip to content
This repository was archived by the owner on Apr 2, 2018. It is now read-only.

iOS input cursor bugs #228

Open
tuna1207 opened this issue Oct 10, 2016 · 6 comments
Open

iOS input cursor bugs #228

tuna1207 opened this issue Oct 10, 2016 · 6 comments

Comments

@tuna1207
Copy link

tuna1207 commented Oct 10, 2016

iOS has a bug where a focused text box will the input caret through any layers on top of it.
screen shot 2016-10-10 at 12 01 27 pm
Here i have my forms input and when i scroll , the cursor will still blinking through my header.
(iOS only)
Please have a look over this , thank you :) .

My ionic info :

Cordova CLI: 6.3.0
Gulp version: CLI version 3.9.1
Gulp local: Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.11
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
ios-deploy version: Not installed
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v6.3.1
Xcode version: Xcode 8.0 Build version 8A218a

@jdiaz5513
Copy link

This is a WebKit bug. There's a hideous hack out there that the ionic framework uses that creates an invisible clone of the focused input to work around it... maybe someone from the ionic team can pitch in?

@justAsascha
Copy link

+1

1 similar comment
@krislm
Copy link

krislm commented Feb 13, 2017

+1

@elji23
Copy link

elji23 commented Mar 13, 2017

Hello guys, do you have any fix for this bug ?
I have a similar issue on IOS ... when my first input is autofocused, on scroll the first time the input carret disappear and reappear smoothly, but if I try to scroll again or if I focus an other input, the carret stay fixed on scrolling and take few milliseconds to disapear and return inside the focused element !!
Do you have any clue? I know it's a know issue on IOS, I already try the blur/focus and the auto/touch overflow-scrolling solution but they are not a good enought.
The first one, hide and show the keyboard and the other one block the sroll on focus ^^
Thanks

@Moghul
Copy link

Moghul commented Nov 23, 2017

+1, I have a similar bug with the keyboard.

On focus (tap), I scroll the page up to put the field into view. The cursor doesn't move with the field until I either scroll manually or start typing.

Cordova 6.5.0 (not updateable because we lose support for some Android versions)
iOS 11.1.2 (latest at this time)
Plugin version 2.2.1

@mseddon
Copy link

mseddon commented Jan 8, 2018

This bug is tracked in WebKit here, apparently fixed a few days ago, so hopefully will be rolled out in the next iOS update.

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

7 participants