Skip to content

Conversation

slorber
Copy link
Collaborator

@slorber slorber commented Apr 29, 2021

Since RN 0.62, Animated components provide the real scrollview comp as ref, not the animated wrapper, and getNode() emits a deprecation warning:

ReactNativeFiberHostComponent: Calling getNode() on the ref of an Animated component is no longer necessary. You can now directly use the ref instead. This method will be removed in a future release.

This change ensures that this lib keeps working for older RN versions, without emitting a warning for newer versions.

@alvaromb I'm going to release this immediately as I still have publish access and it should be retrocompatible, just removing an annoying warning for users on recent RN versions.

@slorber slorber merged commit d5146ca into master Apr 29, 2021
codler added a commit to codler/react-native-keyboard-aware-scroll-view that referenced this pull request Aug 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant