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

Navigate Back Gesture & Drawing #39

Open
Sesa1988 opened this issue Jan 10, 2024 · 1 comment
Open

Navigate Back Gesture & Drawing #39

Sesa1988 opened this issue Jan 10, 2024 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@Sesa1988
Copy link

Sesa1988 commented Jan 10, 2024

Hi, thats a cool package, I will integrate it into my app!

Description:

  • I have a route where you can paint things and when you navigate back I save the image. (This apply for drawings but also other routes and different content)
  • The navigation back gesture is drawing on the screen

It would be nice if there would be a way to prevent that behavior. I did not found any way in Flutter to detect if a back gesture is currently on going. You can detect gestures in general but thats not always a back gesture.

@timcreatedit
Copy link
Owner

Hi @Sesa1988, thanks for opening an issue. As far as I'm aware, you could use ModalRoute.of(context).popGestureInProgress to disable the Scribble widget during a back gesture, or is there something I'm not seeing?

@timcreatedit timcreatedit added the help wanted Extra attention is needed label Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants