adriancarriger / frosted-glass

❄️ Add a live frosted glass blur effect over any type of web content, including text.
https://codesandbox.io/s/github/adriancarriger/frosted-glass/tree/master/demos/vanilla/navbar
MIT License
64 stars 6 forks source link

ReferenceError: Can't find variable: WeakMap #84

Open jrussbautista opened 5 years ago

adriancarriger commented 5 years ago

Hi @jrussumbrella, thanks for posting an issue.

Can you tell me more about how I can reproduce the error? Thanks!

jrussbautista commented 5 years ago

Hello sir @adriancarriger, I opened my projects on safari for windows and I got this error, everything works well on chrome, mozilla and ie 11 but not on safari for windows. image Maybe there's a problem in browser compatibility

adriancarriger commented 5 years ago

You might try throwing this polyfill in and see if it fixes your issue: https://github.com/polygonplanet/weakmap-polyfill/blob/master/weakmap-polyfill.min.js

jrussbautista commented 5 years ago

Thanks sir @adriancarriger this fixed my issue, however im still getting an error. Frosted glass is not working in ie 11 image

adriancarriger commented 5 years ago

This Stack Overflow answer seems similar to your new issue. It looks like another polyfill might help. Good luck! 🍀

jrussbautista commented 5 years ago

Seems like the feature of frosted glass is not working in ie 11. It works well in chrome, hopefully it will works well in other browsers. :( image