-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Error when setting shared value. Message: Cannot add new property '__reanimatedHostObjRef' #2810
Comments
Thanks for reporting @BubbleTrouble14 Apparently, I'm not sure I understand the description here. What you mean by "I need to create a new object"? Where you create that new object? Is this somewhere in the code you provided? Should I expect to see the error you mentioned when trying to run the provided code? |
@BubbleTrouble14 @kmagiera Is there any new progress? |
dohooo/react-native-reanimated-carousel#66 I wonder if it can help you |
Yes I think they could be related. |
Maybe we can reopen this issue. |
I still need to improve the details on this issue and maybe create a codesandox of it. |
@BubbleTrouble14 Is there any progress? |
Description
I created a custom stacked bar chart which uses reanimted2 for animations. And therefore I am using shared values to also display the current values from the selected bar when pressed.
Expected behavior
Change tooltip values when pressing on a bar.
Actual behavior & steps to reproduce
The behavior works correctly. But I can't explain why I need to create a new object instead of just passing in the values directly from the list that creates each bar. Error message reads as "Cannot add new property '__reanimatedHostObjRef'
Snack or minimal code example
https://github.com/openchia/mobile/blob/master/src/charts/TestStackedBarChart.js
Package versions
Affected platforms
The text was updated successfully, but these errors were encountered: