-
Notifications
You must be signed in to change notification settings - Fork 336
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Zero luck getting this to work #219
Comments
I am not familiar with the frameworks you mention, but it could be that your template is not yet rendered when you call disableBodyScroll. |
This framework only supports client-side use, and only after your dom is rendered
repair log,Refer to the releases page. |
Hopefully someone can help point me in the right direction. I am using the Sage 10 theme from Roots and I have a modal window that fires with AlpineJS and I just can't seem to get this to work.
Here's my
app.js
file:Here's my modal blade view file:
My console doesn't throw any errors unless of course it can't find my #freequote ID, then the console displays:
disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.
So that tells me the scripts are running but when my modal is open I am able to continue to scroll.
The text was updated successfully, but these errors were encountered: