开发者

ipad: jquery animation lags through onscreenkeyboard

开发者 https://www.devze.com 2023-01-15 01:13 出处:网络
I\'m writing a webapp for mobile devices. The app includes some fancy pagination pageflip effect i\'ve written using jquery.animate(), which works quite nice and fast in general.

I'm writing a webapp for mobile devices.

The app includes some fancy pagination pageflip effect i've written using jquery.animate(), which works quite nice and fast in general.

My problem on ipad: after the user clicked into a textarea / input text field, the onscreenkeyboard appears and the pageflip effect lags as hell.

When i click somewhere else afterwards - and the onscreenkeyboard dissappears - the animation still lags the same way, huh.

Anybody knows how to avo开发者_Python百科id that lag?


If you don't mind doing something custom for the iPad, I would recommend that you use CSS3 animations directly. Memory management in javascript apps for the iPad is a sonofabitch.

0

精彩评论

暂无评论...
验证码 换一张
取 消