scroll-view click on the scroll bar applet index back to the corresponding position, click and scroll the last index does not take effect

Scroll-view click on the scroll bar applet index back to the corresponding position, click and scroll the last index does not take effect. https://developers.weixin.qq.com/miniprogram/dev/component/scroll-view.html

But no problem when you click another index, it is first transferred to an unknown id each time you click on, to be a delay, after then transferred to the desired id ,. Source code is as follows:

(Landlord is written Taro framework Jingdong small bump laboratory procedures, Indexes beginning with Taro-UI components, and found that there is a problem with a small native program components scroll-view, there is still a problem, and therefore think this compromise approach. )

 

Guess you like

Origin www.cnblogs.com/anguoff/p/11234524.html