Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onScroll with AnimatedEvent #53

Open
hotaryuzaki opened this issue Nov 17, 2022 · 1 comment
Open

onScroll with AnimatedEvent #53

hotaryuzaki opened this issue Nov 17, 2022 · 1 comment
Labels
🥺 feature request Request a new feature

Comments

@hotaryuzaki
Copy link

Is your feature request related to a problem? Please describe.
from this issue we know that you already update onScroll props.
but i have a question:

  1. how to use it, because i dont find it in the docs
  2. for using onScroll animation i have to use ref props. this library not support ref props
  3. i use AnimatedEvent in onScroll props so we have this error
_onScroll is not a function. (In '_onScroll(e)', '_onScroll' is an instance of AnimatedEvent)

Describe the solution you'd like

  1. please add React.forwardRef() so we can using ref props
  2. maybe you should use AnimatedEvent.ScrollView
@danielprrazevedo
Copy link

danielprrazevedo commented Dec 23, 2022

hey @hotaryuzaki I tried to deal with this by creating a fork for this lib, I don't know if it makes sense to create a PR for this as it changes the code base and this can generate some unexpected conflict.
As I'm coming from angular, I'm not a react pro yet, but I believe this can solve the mentioned problem without further problems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🥺 feature request Request a new feature
Projects
None yet
Development

No branches or pull requests

3 participants