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

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

Merged
merged 1 commit into from
Jun 14, 2017

Conversation

Manduro
Copy link
Contributor

@Manduro Manduro commented Jun 14, 2017

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
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