-
Notifications
You must be signed in to change notification settings - Fork 28
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
SVG support #3
Comments
@cimi oh, that's an interesting use-case! Could you post a link to a fiddle with an example? I would like to figure out what's wrong as it seems that react-hint should work. Unless it's being placed inside of the SVG. |
using SVG react hint not working in IE11,Except IE for all browser working well.kindly help to resolve this |
@cimi @slmgc -->I fixed this issue ,element.dateset not working in IE,
changed to -------
Above code will work perfectly in IE11 |
Sorry for the super late reply!
Yes, this is/was the problem. We've fixed and we're happy users of react-hint. |
Nice library! I've just stumbled upon it today and played with it a bit.
I've tried using react-hint to add tooltips to SVG elements and it doesn't work. I'm guessing it's because it tries to inject 'plain' DOM elements (
div
,span
) as the wrappers for the tooltip and that doesn't play well with SVG.I've used redux-tooltip successfully with SVG. That library allows the user to specify a custom wrapper, for example if I put
g
as my preferred tag everything works nicely. Not sure how easy a change this is to make or there is any other SVG specific logic involved besides just switching tags.The text was updated successfully, but these errors were encountered: