Skip to content

Conversation

@JCapucho
Copy link

@JCapucho JCapucho commented Aug 4, 2022

Adds a new option to toggle between the always win pan gesture recognizer with a new recognizer that checks if the pointer event is inside the ring.

And a onEnd callback that is called when the users finishes the pan gesture on the ring.

I implemented this options for a project I'm working on and since it might be useful to more people decided on upstreaming them, if this changes aren't desired feel free to close the PR.

Adds a new option to toggle between the always win pan gesture recognizer with a
new recognizer that checks if the pointer event is inside the ring.

This allows direct users of the `ColorPickerHueRing` to be able to let
events that are in the bounds of the hue ring but not in the ring to
reach parents of the widget.
This event is triggered when the users finishes the pan gesture on the
ring.

This allows direct users of `ColorPickerHueRing` to be notified when the
user stops interacting with the hue ring and act accordingly.
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

Successfully merging this pull request may close these issues.

1 participant