Skip to content

iOS acceleration#9

Open
rstacruz wants to merge 6 commits into
visionmedia:masterfrom
rstacruz:feature/ios_acceleration
Open

iOS acceleration#9
rstacruz wants to merge 6 commits into
visionmedia:masterfrom
rstacruz:feature/ios_acceleration

Conversation

@rstacruz

Copy link
Copy Markdown
Member

This makes move.js do hardware-accelerated transformations and scales on iOS devices.

This uses -webkit-transform: translate3d() and scale3d() in addition to translate() and scale().

One caveat: move().x(40).y(40) will now not produce the correct result. This will do add two translate3d's to the -webkit-transform property. This can be fixed, but I'm not sure on the cleanest way to do that right now...

Comment thread move.js Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

options = options || {};
if (!options.noWebkit){

would be easier to read

@ppcano

ppcano commented Jan 10, 2012

Copy link
Copy Markdown

@visionmedia, do you plan to include this pull request?

That fixs a problem ( suddenly, browser shows white screen ) when using continue animations on mobile devices.

Tested on ipad2.

@tj

tj commented Jan 10, 2012

Copy link
Copy Markdown
Member

i'll try it in a min, alot of the PRs have been breaking stuff

@tj

tj commented Jan 10, 2012

Copy link
Copy Markdown
Member

cant get it to apply cleanly

@jrok

jrok commented May 9, 2012

Copy link
Copy Markdown

Has this been completed now?

@ppcano

ppcano commented May 10, 2012

Copy link
Copy Markdown

@jrok, i don't know, but if it does not fit your case, you could also give a try to jquery.transit.

@jrok

jrok commented May 10, 2012

Copy link
Copy Markdown

Yeah, working with jquery transit now, was hoping to use move.js instead as its a little less complex. Caveat i guess is that its also a little less functional...thanks

@tj

tj commented May 10, 2012

Copy link
Copy Markdown
Member

@rstacruz I'd be happy to give you commit access to this repo if you want, too many projects now :D

@RaghavRamesh

Copy link
Copy Markdown
Contributor

+1

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.

5 participants