frosted-glass icon indicating copy to clipboard operation
frosted-glass copied to clipboard

ReferenceError: Can't find variable: WeakMap

Open jrussbautista opened this issue 5 years ago • 6 comments

jrussbautista avatar Mar 27 '19 03:03 jrussbautista

Hi @jrussumbrella, thanks for posting an issue.

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

adriancarriger avatar Mar 27 '19 11:03 adriancarriger

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

jrussbautista avatar Apr 05 '19 01:04 jrussbautista

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

adriancarriger avatar Apr 06 '19 17:04 adriancarriger

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

jrussbautista avatar Apr 10 '19 02:04 jrussbautista

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

adriancarriger avatar Apr 10 '19 03:04 adriancarriger

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

jrussbautista avatar Apr 10 '19 03:04 jrussbautista