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

Add support for drag handles (only allow drag on certain parts of child widget) #172

Open
derteufelqwe opened this issue Dec 25, 2022 · 4 comments

Comments

@derteufelqwe
Copy link

derteufelqwe commented Dec 25, 2022

It would be great if it was possible to allow drag only on a certain parts of the widget and not on all of it. Just like the ReorderableDragStartListener works for flutters own ReorderableListView.

Currently when using a ReorderableColumn, it makes the whole widget dragable, which is a huge deal breaker, when it's used in a ListView. Because when I also want instant dragability (setting needsLongPressDraggable = false) I can't scroll the list view anymore (as my scroll movement would reorder widgets instead of scrolling).

@derteufelqwe derteufelqwe changed the title Add support for ReorderableDragStartListener when using ReorderableColumn Add support for drag handles (only allow drag on certain parts of child widget) Dec 25, 2022
@srix55
Copy link

srix55 commented Jan 6, 2023

Exactly my issue. What did you do?

@remakerich
Copy link

Same for me.

@derteufelqwe
Copy link
Author

I solved the problem by simply switching to flutters https://api.flutter.dev/flutter/material/ReorderableListView-class.html

@remakerich
Copy link

remakerich commented Apr 27, 2023

Unfortunately it won't work for me since I need some sort of reorderable Grid View. I'm using reordable wrap now

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

No branches or pull requests

3 participants