Skip to content

cant restore position when using react-live-route with better-scroll #19

@horrylala

Description

@horrylala

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions