Writing a custom scroll view #997
yogeshpaliyal
started this conversation in
Feedback
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I’m working on adding custom functionality to a ScrollView—specifically viewability tracking for its items—using the New Architecture (Fabric).
In the Old Architecture, this was straightforward: I’d just copy the existing ScrollView code/manager, tweak it, add my @ReactMethod hooks, and register it under a new name.
However, I’m hitting roadblocks on RN 0.80.2 (Brownfield app):
Has anyone successfully extended the Fabric ScrollView or found a reliable way to hook into its scroll events for viewability in the New Arch?
Any advice would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions