Skip to content

Feat/reanimated scroll#222

Open
VladyslavMartynov10 wants to merge 6 commits intoLegendApp:mainfrom
VladyslavMartynov10:feat/reanimated-scroll
Open

Feat/reanimated scroll#222
VladyslavMartynov10 wants to merge 6 commits intoLegendApp:mainfrom
VladyslavMartynov10:feat/reanimated-scroll

Conversation

@VladyslavMartynov10
Copy link
Contributor

Introduce a new capability to read scroll information at the Reanimated level using useAnimatedScrollHandler. I don’t think introducing new shared values inside CoreComponent is a good idea—just explicitly allow passing the onScroll callback with a new type signature:

      onScroll?:
        | ((event: NativeSyntheticEvent<NativeScrollEvent>) => void)
        | SharedValue<((event: NativeSyntheticEvent<NativeScrollEvent>) => void) | undefined>;

@code-504
Copy link

code-504 commented Jul 8, 2025

Is there any news about this feature?

@VladyslavMartynov10
Copy link
Contributor Author

VladyslavMartynov10 commented Jul 9, 2025

I'll try to finish it this week.

@delmaass
Copy link

Hello @VladyslavMartynov10, is there any update on this one? We'd love to be able to access the scroll offset on the UI thread. Thanks a lot!

@VladyslavMartynov10
Copy link
Contributor Author

I have to create a new PR for v2 version, so many conflicts with current codebase.

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.

3 participants