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
main-content is now the area/element that is scrolling, it is no longer body. It would be great to be able to inform usePreventScroll where to apply itself.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
usePreventScroll is great, but once I changed my layout to using CSS grid, it isn't going to work anymore. For example, this is my grid template areas
main-content
is now the area/element that is scrolling, it is no longerbody
. It would be great to be able to inform usePreventScroll where to apply itself.Beta Was this translation helpful? Give feedback.
All reactions