clauderic / clauderic/react-sortable-hoc

When the body is scrolled, dragging acts as if it's not scrolled.

Open
#650 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10.9k
Forks
959
PR merge metrics
No merged PRs in 30d

Description

I can reproduce this using the demo:
https://clauderic.github.io/react-sortable-hoc/#/basic-configuration/basic-usage?_k=00cf93

Add these styles to `.Showcase__style__list Showcase__style__stylizedList`:
``` css
height: 100vh;
overflow: visible;
```

![image](https://user-images.githubusercontent.com/45860344/71204472-cfb4df00-2265-11ea-8732-d9c1877c91f4.png)

Scroll down (which scrolls down the body) and try clicking and dragging an item. It moves the item relative to `scrollTop` of `0`, not `scrollTop` of wherever your `body` is at.

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.