-
-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Description
Following up on the issue I described here. @jmeistrich recommended using getState on the list ref, which exposes the scroll offset. However, that won't work for my use case since the touch event needs to be processed in a worklet function.
I've patched it locally by declaring a scrollOffset shared value, updating it when state.scroll is updated, and exposing the shared value on the list ref. This solved the issue for me, but I'm not sure if you want a more comprehensive solution.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels