Skip to content

Fixed transitions on some Android 4.1 devices #249

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

Merged
merged 1 commit into from
Apr 29, 2014

Conversation

bpierre
Copy link

@bpierre bpierre commented Apr 26, 2014

On some devices (tested on a Samsung Galaxy S2), the Android 4.1 browser erroneously reports to support unprefixed transitions events, while it’s in fact not implemented.

The solution is to test for the prefixed version first. The WebKit-prefixed event has been moved on top of the tested events, and while the Object properties order is not guaranteed in JavaScript (ES3, section 4.3.3), it is the case in the targeted browser.

More information:
Modernizr/Modernizr#897
https://bugs.dojotoolkit.org/ticket/17164

On some devices (tested on a Samsung Galaxy S2), Android 4.1 is
erroneously reporting to support unprefixed transitions events, while
it’s in fact not implemented.

The solution is to test for the prefixed version first. The
WebKit-prefixed event has been moved on top of the tested events, and
while the Object properties order is not guaranteed in JavaScript (ES3,
section 4.3.3), it is the case in the targeted browser.
yyx990803 added a commit that referenced this pull request Apr 29, 2014
Fixed transitions on some Android 4.1 devices
@yyx990803 yyx990803 merged commit 3eca8aa into vuejs:dev Apr 29, 2014
yyx990803 pushed a commit that referenced this pull request Apr 29, 2014
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