-
-
Notifications
You must be signed in to change notification settings - Fork 533
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
undefined is not a function (evaluating 'e.getAttribute("data-iscapture")') #256
Comments
I just tested on Safari |
Not really, I get this error with safari v9 (iOS) and v8 (Mac 10.10) Everything is fine with tooltip version 3.1.7 |
Could you provide more detailed stack trace, please? Also, is everything OK with the test page in safari ( |
Stack trace:
Happens only with safari safari v9 (iOS) and v8 (Mac 10.10) (as far as I know). |
I got something similar on iPad Safari: The last working version without this bug seems to be |
Works fine with the hotfix! |
Thanks for feedback @tasiek. That's great! Ok the issue seems clear. Facebook's approach looks good. Here is the dist utilizing the approach above. What do you think? I think @gauthierj needs to be informed about this issue (the author of ef749c3) |
@diegoarcega please, try one of the fixes below and let us know the results. It would be great if you try both of them. This one is just a revert of erroneous commit. It should work. But it's only a temporary fix, we can't completely rely on it. npm install github:huumanoid/react-tooltip#issue-256-safari And this is a good candidate to completely fix the problem for all browsers. But it's not tested across the browsers yet. npm install github:huumanoid/react-tooltip#issue-256-safari-fbjs |
This issue ended up breaking half our site. That's what I get for not setting version ceilings. XD |
@huumanoid I downgraded it to .0 minor version |
The proposed cross-browsers fix seems OK to us. Regards, Gauthier |
Related to issue ReactTooltip#256
Really thanks @huumanoid ,should be fixed in |
This code react-tooltip/dist/decorators/isCapture causes error in Safari (v8 and v9 for sure):
The text was updated successfully, but these errors were encountered: