这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@NateWr
Copy link
Contributor

@NateWr NateWr commented Feb 2, 2015

This PR fixes an issue with iOS 8 when opening and closing the time picker over and over. On subsequent clicks, the time picker would intermittently open without actually appearing. Clicking again would select a time as though it was there, then close it.

iOS 8 seemed to be hung up on this line, which combines transition and transform rules. Splitting them into two fixed things.

You can view the problem here and the fixed version here. (Note that there is also some extra scroll-jumping on that page to work around #609).

@amsul
Copy link
Owner

amsul commented Feb 9, 2015

This split doesn’t actually do the same thing as the original code. In fact, the second line is just going to be ignored by all browsers because it’s invalid CSS.

I have a fix locally for this - will push it soon. I'll give you more info on Gitter.

@amsul amsul closed this Feb 9, 2015
@jessek1
Copy link

jessek1 commented Mar 7, 2015

Was able to resolve by commenting out the transitions on the .picker__holder.

.picker__holder {
  position: fixed;
  /*transition: background 0.15s ease-out, -webkit-transform 0s 0.15s;
  transition: background 0.15s ease-out, transform 0s 0.15s;*/
  -webkit-backface-visibility: hidden;
}

Side effect is the control isn't placed on the bottom of the window, but is now usable in Safari iOS 8 for me.

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.

3 participants