-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Position Draggable Based on Click Position #937
Comments
It sounds like you are trying to change the size of something during a drag.
|
We will explore the underlying issue of mixed sized draggables here: #930 |
I have a similar problem. Would it be possible to specify the component for the drag as a Prop of ? <Draggable draggingComponent={ hello }/>
In this way, the library could still create its virtual model. |
I have a similar problem too. |
Bug or feature request?
Feature request
Feature Request
I'm building out a document builder feature for an app, and I'm having problems with dragging between two lists that have different widths. I've looked at all of the issues and tried what you said on #614. The problem is that if you change the width you need to be able to change the position of the component to be based on where the user clicks. I also saw your comment on #517 and didn't find an issue filed capturing this behavior.
My goal would be having the ability to drag blocks to the snippets column and also being able to rearrange the blocks. I'm open to any other means of making this happen and can potentially put in a PR if you think it's within the scope of react-beautiful-dnd.
What version of
React
are you using?16.4.2
What version of
react-beautiful-dnd
are you running?10.0.1
Demo
Without a custom dragging component:
Defining a custom width and height + custom component:
The text was updated successfully, but these errors were encountered: