diff --git a/src/shared/get-support.js b/src/shared/get-support.js
index <HASH>..<HASH> 100644
--- a/src/shared/get-support.js
+++ b/src/shared/get-support.js
@@ -7,7 +7,7 @@ function calcSupport() {
   const document = getDocument();
 
   return {
-    smoothScroll: 'scrollBehavior' in document.documentElement.style,
+    smoothScroll: document.documentElement && 'scrollBehavior' in document.documentElement.style,
 
     touch: !!(
       'ontouchstart' in window ||
fix(core): double check for documentElement in smoothScroll detection