-
Notifications
You must be signed in to change notification settings - Fork 420
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
Fix Removed child count (0) was not what we expected (1) #280
base: dev
Are you sure you want to change the base?
Conversation
Attempt to fix issues with removeChildren and manageChildren bugs, causing exceptions from RCTUIManager Related to #258 and #848 facebook/react-native#23350 https://github.com/FormidableLabs/victory-native/issues/432 indiespirit/react-native-chart-kit#62 JesperLekland/react-native-svg-charts#280 JesperLekland/react-native-svg-charts#244
Fixed issues with removeChildren and manageChildren bugs, causing exceptions from RCTUIManager Related to #258 and #848 facebook/react-native#23350 https://github.com/FormidableLabs/victory-native/issues/432 indiespirit/react-native-chart-kit#62 JesperLekland/react-native-svg-charts#280 JesperLekland/react-native-svg-charts#244
The root cause for this has been fixed in react-native-svg v9.2.4, and the most efficient workaround for backwards compatibility is to wrap any Defs elements in a G element, rather than the dynamic content. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First and foremost thank you for your PR.
Secondly I'm super sorry for the late reply, I simply haven't had time to maintain this library.
If this is to be fixed it should be fixed in all relevant charts. However I'm not sure a "workaround" should be merged into the library it self. The user could simply wrap their children in a <G>
and all should be fine and dandy. Don't you agree?
Attempt to fix issues with removeChildren and manageChildren bugs, causing exceptions from RCTUIManager Related to #258 and #848 facebook/react-native#23350 https://github.com/FormidableLabs/victory-native/issues/432 indiespirit/react-native-chart-kit#62 JesperLekland/react-native-svg-charts#280 JesperLekland/react-native-svg-charts#244
Fixed issues with removeChildren and manageChildren bugs, causing exceptions from RCTUIManager Related to #258 and #848 facebook/react-native#23350 https://github.com/FormidableLabs/victory-native/issues/432 indiespirit/react-native-chart-kit#62 JesperLekland/react-native-svg-charts#280 JesperLekland/react-native-svg-charts#244
software-mansion/react-native-svg#848 (comment)