feat: add onDragStart onDragEnd gesture callbacks
Given the significant interest and numerous requests from the community for this feature, I'm excited to introduce it with this pull request.
resolves #998, #1147
@gorhom I think it's also worth to add a callbacks that run on UI thread to react on the changes without unnecessary rerenders. However I need to think a bit about some intuitive API for that
Additionally I would also consider adding them to some hook so user can interact with it from any place.
@gorhom I would be really grateful for review
Awesome! Can't wait to see it merged. We've been patching this manually for quite some time. Would be nice to see it in the library.
Hi @arekkubaczkowski. Do you know when this awesome feature will be merged & released ?
Hi @arekkubaczkowski. Do you know when this awesome feature will be merged & released ?
I have no idea, it seems like @gorhom is very busy.
@arekkubaczkowski - I am currently trying to tap into some functionality like this and I believe @gorhom's intent is to use gestureEventsHandlersHook to provide callbacks for handleOnStart, handleOnEnd, handleOnActive.
Am I missing the intent of this PR?
This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.
@phillipkey could you provide some example on how to properly use gestureEventsHandlersHook without defining redundant boilerplate? I am not sure if I am missing something but based on official example it require to provide the entire logic from scratch instead of adding custom logic on the top of existing one.
This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.
that's a shame it's been closed. Hopefully someone will reopen it. cc @gorhom
@arekkubaczkowski any idea when this feature will be availabe to use?