glamor: TypeError: undefined is not an object (evaluating 'this.sheet.insertRule') on mobile safari
This error occurs in only on our (sourcegraph.com) production set up, when glamor is in speedy
mode. If its relevant, we also use TypeScript.
This can be reproduced in latest Safari and Chrome on iOS 10.0.1 on iPad and iPhone.
It does not appear to be an issue on some other mobile devices, e.g., Nexus 5x / Chrome.
This is the JS error I am getting on my iPad in Safari:
For now, we’ve disabled speedy
mode, but it is, of course slower.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 32 (17 by maintainers)
Commits related to this issue
- possible fix for #58 — committed to threepointone/glamor by threepointone 8 years ago
- propagate fix for threepointone/glamor#58 — committed to zvictor/styled-components by zvictor 7 years ago
Handshakes all around, well done everybody:) I’ll leave this open for a day or so before closing.
cool, works now with
2.17.6
, thanks @threepointoneI just published a version 2.17.6 with a possible fix, would you folks give it a spin and see if it’s fixed the issue? plsthx.
I’m very eager to solve this for you folks, so please feel free to bug me any time.