diff --git a/src/utils/mixins.js b/src/utils/mixins.js
index <HASH>..<HASH> 100644
--- a/src/utils/mixins.js
+++ b/src/utils/mixins.js
@@ -83,7 +83,7 @@ const on = (el, ev, fn, opts) => {
   el = el instanceof Array ? el : [el];
 
   for (let i = 0; i < ev.length; ++i) {
-    el.forEach(elem => elem.addEventListener(ev[i], fn, opts));
+    el.forEach(elem => elem && elem.addEventListener(ev[i], fn, opts));
   }
 };
 
@@ -92,7 +92,7 @@ const off = (el, ev, fn, opts) => {
   el = el instanceof Array ? el : [el];
 
   for (let i = 0; i < ev.length; ++i) {
-    el.forEach(elem => elem.removeEventListener(ev[i], fn, opts));
+    el.forEach(elem => elem && elem.removeEventListener(ev[i], fn, opts));
   }
 };
Add checks in on/off mixins