亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

angular.js - After sliding the page in the ionic project, the $anchorscroll anchor point jump cannot jump on ios.
僅有的幸福
僅有的幸福 2017-05-15 17:12:41
0
1
1085

Based on # being used as a path in the ionic project, $anchorscroll is used for the anchor jump function within the page. The following is the main code used
$location.hash(id);
$anchorScroll();

The operations performed are:
【1】Don't slide the page first, click the button directly to trigger the jump to the corresponding id, and try to see if you can manually slide the page after jumping
【2】Slide the page first, and then Click the button to trigger the jump event and see if it can jump
[3] Slide the page first, then click the button to trigger the jump event. After the successful jump, try to see if you can manually slide the page

On Android, all these operations are possible. On iPad, the second and third operations are invalid. Moreover, after the first jump is successful, the page cannot slide up and only slides down

僅有的幸福
僅有的幸福

reply all(1)
世界只因有你

After searching thousands of Baidu, I finally found the answer:
Just add: overflow-scroll="true" to ion-content
That is: <ion-content overflow-scroll="true">

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template