You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Noticed that due to the way react-embed applies the className to the parent dom node, if a component re-renders and it uses the className prop on ReactVega it causes the react-embed className to be dropped. You can see an example here in codesandbox if you add className="hi" the embed styling gets dropped. A work around for us is we can add a wrapper div and not apply a className to this component.
The text was updated successfully, but these errors were encountered:
Hello!
Noticed that due to the way react-embed applies the className to the parent dom node, if a component re-renders and it uses the className prop on ReactVega it causes the
react-embed
className to be dropped. You can see an example here in codesandbox if you addclassName="hi"
the embed styling gets dropped. A work around for us is we can add a wrapper div and not apply a className to this component.The text was updated successfully, but these errors were encountered: