You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to trigger an effect when the scroll position of the tab changes by using the useCurrentTabScrollY hook.
unfortunately the hook only returns the initial scroll position, 0, when first rendered but doesn't seem to update when I scroll the FlashList on the tab.
not sure if it's an issue with how I'm using useCurrentTabScrollY, or if it's because im scrolling within a FlashList. has anyone experienced this?
the structure of the tab and list I have is essentially:
I'm trying to trigger an effect when the scroll position of the tab changes by using the
useCurrentTabScrollY
hook.unfortunately the hook only returns the initial scroll position, 0, when first rendered but doesn't seem to update when I scroll the FlashList on the tab.
not sure if it's an issue with how I'm using useCurrentTabScrollY, or if it's because im scrolling within a FlashList. has anyone experienced this?
the structure of the tab and list I have is essentially:
The text was updated successfully, but these errors were encountered: