You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.
We are getting an error in IE11 only since version 2.6.0 (does not happen with 2.5.7). It seems to be related with some missing polyfill in the build/dist.
unable to get property enumerable of undefined
It seems to happen in the following snippet:
functionownKeys(object,enumerableOnly){varkeys=Object.keys(object);if(Object.getOwnPropertySymbols){varsymbols=Object.getOwnPropertySymbols(object);if(enumerableOnly)symbols=symbols.filter(function(sym){returnObject.getOwnPropertyDescriptor(object,sym).enumerable;// unable to get property enumerable of undefined});keys.push.apply(keys,symbols);}returnkeys;}
Including the following polyfill makes the problem go away so it seems to be some missing polyfill in the build of react-ga, however we were unable to pinpoint what, exactly, is missing.
I tried importing react-ga/core instead of react-ga: import ReactGA from 'react-ga/core'; and that got rid of the issue as far as I can see. I'm on vesrion 2.7.0 btw
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
We are getting an error in IE11 only since version 2.6.0 (does not happen with 2.5.7). It seems to be related with some missing polyfill in the build/dist.
It seems to happen in the following snippet:
Including the following polyfill makes the problem go away so it seems to be some missing polyfill in the build of react-ga, however we were unable to pinpoint what, exactly, is missing.
Any idea?
Thank you!
The text was updated successfully, but these errors were encountered: