开发者

iScroll4 + jQuery Mobile controls = slows down on iPad

开发者 https://www.devze.com 2023-03-25 09:57 出处:网络
When using multiple jQuery Buttons and Checkboxes in an iScroll4 container some controls slows down: The visual feedback for the user comes late and and the transitions are not smooth.

When using multiple jQuery Buttons and Checkboxes in an iScroll4 container some controls slows down: The visual feedback for the user comes late and and the transitions are not smooth.

I think its mostly an iPad performance开发者_开发问答 issue, cause in the Browser everything runs fine.

Maybe there's a way to increase performance on the iPad(1)? Has anyone a solution or a workaround for this problem?


I also found this to be a problem with long list scrolling in iscroll4 and jQuery Mobile. The solution I came up with was remove jQuery Mobile from that element and the speed increased ten fold!

I then restyled the list elements to reflect the look and feel that jQuery Mobile was giving it.

I think the main reason that it slows down is because jQuery Mobile adds a lot of classes and call lots of events on touch/tap.

0

精彩评论

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

关注公众号