Closed karl-run closed 4 years ago
i have the same problem and i don't have any idea what to do! nothing happens at all!
Woah, this is weird, so we're using <g>
as a wrapper component and it worked fine for a while. The main reason was that we couldn't be sure if you were doing animations in SVGs or not.
Thanks for reporting!
This library was very much helpful in one of my projects. Thanks to the creators and maintainers.
In React16, it is not essential to render just 'single root node'. We can render an array of nodes too. So I removed the wrapper <g>
tag and it worked fine for me.
i have the same problems in safari / chrome with react 16.0.1 nothing works after the error
This is a new warning message in React 16. Has nothing to do with anime/react-anime and this warning can safely be ignored.
@yestoall Your app isn't working for some other reason. Catch all exceptions in debugger and see if you can isolate the issue.
Would be great to have control of nametag of wrapper (not sure if its even possible in react)
In my case would fix problem with animating clipPath of my SVG (the
Maybe it's a good fit for the new Fragments that React just released?
Same for me. Also, i've got no animation at all after the error.
@JonDum not true. Even main example doesn't work. Please see https://codesandbox.io/s/jlzlo15k59
@kresli Exactly the same behavior, as I have.
Same shit
I fixed it Not sure it's correct (because I removed something) But it works https://github.com/hyperfuse/react-anime/pull/39
@Kelin2025 I don't want to be a mood killer here, but you broke compatibility. If someone already passing a style to the Anime component, it would break expected behaviour. Maybe release it as minor change?
Hey this is apparently a bug, even the example code in the project home doesn't show anything! if you inspect the final rendering page, you will see the root component is wrapped with <g>
, which is the element for svg, don't know why it becomes the wrapper of html.
Just installed and ran into this. Any ETA on an update? would love to start using this :> thanks!
I have the same problem with <span>
tag.
try pose. its a better option.
On Sun, 7 Oct 2018 at 18:22, Jitendra Dhurvey notifications@github.com wrote:
I have the same problem with tag.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hyperfuse/react-anime/issues/33#issuecomment-427665930, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB0VITJDiblPED4tiYxVpen4_LJ8CIZks5uiiopgaJpZM4QRkj_ .
--
I've had great experience with react-spring after I had to give up on react-anime.
Warning: The tag
plz help me this error how to solve
import I18n from 'redux-i18n';
i18n -----> I18n
The initials should be capitalized
This issue seems so have either been resolved, gone stale, or just isn't a problem anymore. I'm going to go ahead and close this, but if there are any more similar problems people run into, please open a new issue.
For those finding this issue coming from other projects:
This can be fixed by adding xmlns="http://www.w3.org/2000/svg"
to any offending SVG element, including <g>
, <use>
, <text>
, or <tspan>
(doesn't break spec, but does pollute attribute list).
You could also run tests in something other than __DEV__
mode, or add the is
attribute (breaks HTML spec, requires test selectors to be rewritten).
I have the same problem with < ui > tag.
!1.react-dom.development.js:67 Warning:
What can I do?
Using a blank create-react-app application, with only react-anime installed and only a simple Anime tag I get this warning in Chrome:
Warning: The tag <g> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.