Closed joshuaellis closed 2 years ago
looking back at 8.0.27
and then 9.x.x
on, it seems these were never added to the forwarded refs in the version change (whereas I guess it happened for free in older versions).
i'm into this -- with this addition, users should be able to listen for scroll events on Parallax
, which I've seen a few requests for/questions about. I should have some time this week to do it!
That's great news, thanks @kindoflew
Feature Request
Theres a small regression in what the refs contained when passed to Parllax components i.e. you don't get to access the actual nodes. It would be helpful to re-introduce these and add this to the documentation. They could be called
container
as they previously were, but i'm also open to suggestions of a more intuitive name.Discussed in https://github.com/pmndrs/react-spring/discussions/1769