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

Side effects while focusing input on Android 2 due to 3D transforms being used. #34

Open
gudoy opened this issue Feb 14, 2013 · 0 comments

Comments

@gudoy
Copy link

gudoy commented Feb 14, 2013

On Android 2, in a scroller containing 2 inputs, when clicking the first input, I had the following behavior:

  • the second input get the default focus ring (orange outline)
  • when typing, the input updated is the first.

After some tests, I found out that in the 'EasyScroller.prototype.render' function, the translate3d part was used although not being supported in Android < 3.

Testing for the perspective property does not seem to be reliable enough.

As I'm using Modernizr, I end up replacing:

if (helperElem.style[perspectiveProperty] !== undef) {

by

if ( Modernizr.csstransforms3d ){
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

No branches or pull requests

1 participant