Replies: 1 comment 2 replies
-
Hi @dafrica1 , I tested your snippet (although within its limits since it's not a full repro) and |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm new to React Native but even this is a bit odd for me.
I have two components that sit on top of a full-screen map: A component with form elements and a simple empty component underneath it where I use
reanimated
to change the height whenever the keyboard is opened or closed so that it pushes the form component above the keyboard so it is visible.Previously this component was written using the
reanimated
1.x API however when refactoring it to use the 3.x API, I've run into an issue where updating the.value
prop of the SharedValue doesn't trigger a UI update.Here's an example of what I'm looking at:
When I update
height.value
, it should trigger a change inanimatedStyles
but there is no change. Any ideas as to why updating a shared value isn't working?Beta Was this translation helpful? Give feedback.
All reactions