Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why does the list scroll to the top when I move the element? #499

Closed
Aililyer opened this issue Jan 28, 2019 · 3 comments
Closed

Why does the list scroll to the top when I move the element? #499

Aililyer opened this issue Jan 28, 2019 · 3 comments

Comments

@Aililyer
Copy link

Why does the list scroll to the top when I move the element?

@Aililyer Aililyer reopened this Jan 28, 2019
@aswinckr
Copy link

aswinckr commented Feb 6, 2019

Facing the same issue. Any solution?

@aswinckr
Copy link

aswinckr commented Feb 6, 2019

I figured out my issue. It wasn't with react-sortable-hoc but with react-router-dom.

The problem was I generated routes dynamically on every state change. Apparently this doesn't retain last scroll locations and refreshes on each.

@clauderic
Copy link
Owner

Resolved by #484

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants