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:

3f5c9cb0-802c-11e6-8be3-898359706305

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

Most upvoted comments

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 @threepointone

I 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.