Skip to content

fix(input): slightly longer delay for autofocus - #12037

Merged
manucorporat merged 1 commit into
ionic-team:masterfrom
Manduro:patch-1
Jun 14, 2017
Merged

manucorporat merged 1 commit into
ionic-team:masterfrom
Manduro:patch-1

Conversation

@Manduro

@Manduro Manduro commented Jun 14, 2017

Copy link
Copy Markdown
Contributor

Short description of what this resolves:

Really nice to see autofocus has arrived in Ionic! I've been using a directive for this until now. In that directive I'm using a delay of 800ms, which works consistently every time.

Trying the latest nightly I found the autofocus fails about one third of the times with iOS transitions. Changing it to 800ms fixes it for me.

It could also be nice to make this a config setting, because someone might be using custom transitions that take longer.

Changes proposed in this pull request:

  • Change autofocus delay from 650ms to 800ms

Ionic Version: 3.x (nightly)

@manucorporat
manucorporat merged commit 54ac2e3 into ionic-team:master Jun 14, 2017
@manucorporat

Copy link
Copy Markdown
Contributor

fair enough! thanks for the PR!

@Manduro
Manduro deleted the patch-1 branch June 27, 2017 07:50
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

Successfully merging this pull request may close these issues.

2 participants