WICG / focus-visible

Polyfill for `:focus-visible`
https://wicg.github.io/focus-visible/demo/
Other
1.6k stars 124 forks source link

Add document guard for SSR #202

Closed josemarluedke closed 5 years ago

robdodson commented 5 years ago

@josemarluedke are there SSR scenarios where window is defined by document isn't?

josemarluedke commented 5 years ago

@robdodson I found that strange as well, but it was the case when using Ember FastBoot.

robdodson commented 5 years ago

ah ok, thanks for that!