frontend-collective / frontend-collective/react-sortable-tree

Auto scroll up doesn't work, auto scroll down works

Open
#874 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5k
Forks
914
PR merge metrics
No merged PRs in 30d

Description

### BUG ###

I am using react-sortable-tree, and in the same page I have multiple react-sortable-tree with the same dnd-type. My height for the tree is dynamic, `visibleNodeCount * 65`. The issue is, auto scroll works when I am dragging down, but it doesn't work when I am dragging up.

## Dragging Down ##
![autoScrollDown](https://user-images.githubusercontent.com/29941191/111624981-666fa300-87fd-11eb-9736-97e6c03da80a.gif)

## Dragging Up ##
![autoScrollUp](https://user-images.githubusercontent.com/29941191/111624995-6b345700-87fd-11eb-84ed-47959de11d5e.gif)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.