everweij / react-laag

Hooks to build things like tooltips, dropdown menu's and popovers in React
https://www.react-laag.com
MIT License
907 stars 47 forks source link

Tooltip example shows error in Safari #4

Closed rijk closed 4 years ago

rijk commented 4 years ago

https://www.react-laag.com/docs#tooltip

Both on Mac and iPhone:

image

The docs include a reference to this:

image

So I think it would be best to include this fix in the examples, no?

everweij commented 4 years ago

Thanks Rijk for taking the time to notify me about this. You're absolutely right, I hadn't thought about including a polyfill in the examples. Right now, I'm on a little trip this weekend, but I will update the examples as soon as I'm home again. I will get back at you!

rijk commented 4 years ago

Thanks. Great package by the way, checked it out in detail today! Beautiful docs + API.

everweij commented 4 years ago

Thanks Rijk! I've updated the CodeBox samples with a polyfill. I'm gonna close this issue for now. Please let me know if you're experiencing futher browser compatibility issues.