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

Pan Dismiss Direction #21

Open
anthonyuclvcfg opened this issue Feb 8, 2023 · 5 comments
Open

Pan Dismiss Direction #21

anthonyuclvcfg opened this issue Feb 8, 2023 · 5 comments

Comments

@anthonyuclvcfg
Copy link

pan - can be dismissed by dragging either horizontal or vertical, no multi

great job !

@Tkko
Copy link
Owner

Tkko commented Feb 8, 2023

I don't get what do you mean 😕

@anthonyuclvcfg
Copy link
Author

yes sorry friend, I was talking you can include a new dismiss direction as an enhancement -> Pan
this is a bit more restrictive than multi, you can only do a horizontal or vertical movement

https://docs.flutter.dev/development/ui/advanced/gestures

@Tkko
Copy link
Owner

Tkko commented Feb 12, 2023

There is an options for that DismissiblePageDismissDirection.vertical and DismissiblePageDismissDirection.horizontal

@dionysos1
Copy link

dionysos1 commented Apr 28, 2023

What I believe he means and what I would like to see as a feature, Is to be able to use both the vertical and horizontal dismiss direction but not have the multi functionality of dragging it around like a card.
So essentially locking it in the direction you are swiping. And also the ability to disable the gesture on 1 of the directions (for me this is a swipe from the bottom that I would like to disable)

@Tkko
Copy link
Owner

Tkko commented Apr 28, 2023

@dionysos1 Disabling specific direction is on top of my tasks already, but my time is pretty limited these days so if anyone is open to contribute I'll be happy to help.

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