Update:
There are some mistakes in the former description, i used react-bscroll instead of better-scroll。
Sorry for that~ But it seems that they encounter the same problems~
Description:
when using better-scroll libs, it cant restore position?
it seems better-scroll using CSS attribute "transform" to scroll , but react-live-route using scrollTo to scroll 。
Of course it cant get scroll position using scrollTop or scrollLeft
Expectation:
1.when route back ,it restores right position
Update: There are some mistakes in the former description, i used react-bscroll instead of better-scroll。 Sorry for that~ But it seems that they encounter the same problems~ Description: when using better-scroll libs, it cant restore position? it seems better-scroll using CSS attribute "transform" to scroll , but react-live-route using scrollTo to scroll 。 Of course it cant get scroll position using scrollTop or scrollLeft
Expectation: 1.when route back ,it restores right position