You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as I understand it, it's only possible to add a scroll lock to the body.
We have a situation where there is a child modal so I would like to lock it's parent instead of the body (being already locked at that point)
What I do in our own (not working on ios) code is search for an optional parentNode with queryselector and lock/release either that one or the body.
Would this be possible in your current setup and are you interested in a pull request on this issue?
The text was updated successfully, but these errors were encountered:
Hello,
as I understand it, it's only possible to add a scroll lock to the body.
We have a situation where there is a child modal so I would like to lock it's parent instead of the body (being already locked at that point)
What I do in our own (not working on ios) code is search for an optional parentNode with queryselector and lock/release either that one or the body.
Would this be possible in your current setup and are you interested in a pull request on this issue?
The text was updated successfully, but these errors were encountered: