Explorar o código

bug fix __noscroll param (#4063)

Guy hai 1 ano
pai
achega
2dacee08cd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/focus/src/index.js

+ 1 - 1
packages/focus/src/index.js

@@ -90,7 +90,7 @@ export default function (Alpine) {
                 setTimeout(() => {
                     if (! el.hasAttribute('tabindex')) el.setAttribute('tabindex', '0')
 
-                    el.focus({ preventScroll: this._noscroll })
+                    el.focus({ preventScroll: this.__noscroll })
                 })
             }
         }