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

Allow flag to control whether a gesture can be continuous #494

Closed
zsoltk opened this issue Jun 28, 2023 · 1 comment
Closed

Allow flag to control whether a gesture can be continuous #494

zsoltk opened this issue Jun 28, 2023 · 1 comment
Assignees
Milestone

Comments

@zsoltk
Copy link
Contributor

zsoltk commented Jun 28, 2023

Situation right now:

  • If a drag gesture can cover more than 1 length of an operation, the remainder is automatically interpreted as another model operation

Cases where this is desired:

  • Spotlight
  • Test drive
  • In general: models where a continuous dragging beyond one operation is what we want

Cases where this is not desired:

  • Back stack pop
  • Puzzle 15 move an element

In these cases the gesture should stop at the first operation's 100% completion boundary.

Idea:

Allow a flag inside Gesture to control this behaviour, and then the gesture factory (client code) can decide.

@zsoltk
Copy link
Contributor Author

zsoltk commented Dec 4, 2023

Fixed in #599

@zsoltk zsoltk closed this as completed Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants