Skip to content

Commit

Permalink
bug fix __noscroll param (#4063)
Browse files Browse the repository at this point in the history
  • Loading branch information
theGC committed Mar 4, 2024
1 parent 9f96f86 commit 2dacee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/focus/src/index.js
Expand Up @@ -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 })
})
}
}
Expand Down

0 comments on commit 2dacee0

Please sign in to comment.