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

Unable to drag item far below the visible area when using react-window #2257

Open
tastytrader opened this issue Jun 8, 2021 · 0 comments
Open

Comments

@tastytrader
Copy link

Expected behavior

When using react-window to render a virtualized list and react-beautiful-dnd for draggable rows, I should be able to drag table rows to any position.

Actual behavior

Unable to drag items far below the visible area.

Steps to reproduce

  1. Render a table using a FixedSizeList using react-window (see Using html table element bvaughn/react-window#60 (comment))
  2. Make the tbody a Droppable
  3. Make the tr elements Draggables
  4. Try to drag a row from the top to a much lower row position.
  5. You are unable to drag a row to a position far below the visible area.

See https://codesandbox.io/s/react-window-with-table-elements-forked-d91vs?file=/src/index.tsx

Suggested solution?

What version of React are you using?

16.12.0

What version of react-beautiful-dnd are you running?

13.1.0

What browser are you using?

Google Chrome Version 91.0.4472.77 (Official Build) (x86_64)

Demo

Screen.Recording.2021-06-07.at.9.10.09.PM.mp4

https://codesandbox.io/s/react-window-with-table-elements-forked-d91vs?file=/src/index.tsx

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

No branches or pull requests

1 participant