Skip to content
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

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

msand
Copy link

@msand msand commented Dec 9, 2018

@JesperLekland JesperLekland changed the base branch from master to dev December 10, 2018 10:47
msand added a commit to software-mansion/react-native-svg that referenced this pull request Feb 9, 2019
msand added a commit to software-mansion/react-native-svg that referenced this pull request Feb 9, 2019
@msand
Copy link
Author

msand commented Feb 9, 2019

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.

Copy link
Owner

@JesperLekland JesperLekland left a 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?

JackWillie added a commit to JackWillie/react-native-svg that referenced this pull request Nov 27, 2022
JackWillie added a commit to JackWillie/react-native-svg that referenced this pull request Nov 27, 2022
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.

2 participants