-
-
Notifications
You must be signed in to change notification settings - Fork 938
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Version
v5
Reanimated Version
v3
Gesture Handler Version
v2
Platforms
Android
What happened?
The exported types of the Scrollables are omitting the onScroll prop, but it still works as expected when passed in with a @ts-ignore comment to ignore the type error.
Is this intentional? I don't see this mentioned anywhere in the documentation, the only props that are ignored for the Scrollables are: scrollEventThrottle, decelerationRate and onScrollBeginDrag, maybe it was a mistake to omit onScroll instead of onScrollBeginDrag ?
I'm using v5.2.8
Reproduction steps
- Just enable TypeScript and use any Scrollable component and try to pass in an
onScrollprop, the type error will show up
Reproduction sample
https://snack.expo.dev/@buitrbao222/bottom-sheet
Relevant log output
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
