codeherence / react-native-header

A high-performance, cross-platform animated header component for React Native applications.
MIT License
218 stars 15 forks source link

feat: Let the user provide a custom onScroll handler #21

Closed ythomop closed 10 months ago

ythomop commented 10 months ago

Feature Request

There are times when the scroll position is needed, e.g. to hide/show a floating tab bar.

Proposed Solution

This can be done exactly like the other scroll related handlers are overriden. The user provided onScroll can run after this library's onScroll

e-younan commented 10 months ago

Thanks for the enhancement request - I'll look into this tomorrow.

e-younan commented 10 months ago

22