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

No detection of dragging in virtual container if container is too wide #1655

Open
tariqporter opened this issue Dec 3, 2019 · 0 comments
Open

Comments

@tariqporter
Copy link

@tariqporter tariqporter commented Dec 3, 2019

Expected behavior

Expect to be able to drag Draggables and have other Draggables react accordingly

Actual behavior

Allows to drag Draggable, but Droppable does not detect dragging behaviour and other Draggables will therefore not move

Steps to reproduce

Create a virtual table, and set the table to be arbitrarily wide. Dragging has no effect.
Set the table to be slightly less wide and it will work correctly

What version of React are you using?

16.8.6 on codesandbox

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

12.1.1 on codesandbox

What browser are you using?

Chrome Version 78.0.3904.108 (Official Build) (64-bit)

Demo

https://codesandbox.io/s/clever-diffie-1qqtu

change line width={3000} to width={500} to have dragging working

Here is a demo with many columns also demonstrating the same problem

https://codesandbox.io/s/cocky-burnell-jh8dw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.