Disable page scrolling with floating group

is it possible to disable page scrolling when a certain floating group is visible?

when a floating group is open and covers the whole page, I can still scroll up and down on what is behind the floating group.

</style>
body {
   height: 100%;
   overflow-y: hidden;
}
</style>

one way of doing it would be to stick that in an html element, and have it as a conditional “when floating group is visible”

1 Like

thanks! i’ll try that out later

Hi there!

I am having the same problem and just tried adding the HTML script but it did not work.

Just checking that you meant the conditional would not be visible on page load but: “when [floating group] is visible this element is visible”?

Assuming the above is correct (and doesn’t work) are there any other suggestions?

Thanks!

This topic was automatically closed after 70 days. New replies are no longer allowed.