Is it possible to lock the scrollbar

I’m trying to lock & hide the main scrollbar when a floating group is visible,
Just like how a popup works.

My guess is custom javascript?

If you know how or if this is possible an help would be awesome.

Thanks,
Jonathon

Perhaps simulate it with a pop-up group with clear outside area?

I don’t know the reason why you want that but…
Would a pop-up work with the outside background color set to 0% alpha. It would look like a flouting group except it will be in the middle of the screen. The background page would be locked.

Rick
Freelance developer

Thanks for the reply rick,

I’m using floating group as my popups which I’ve made responsive,
So when the users on a mobile it will free more navtive, compared to when there on a desktop.

Below is a showcase of one element being used for both mobile and desktop.

Mobile

Desktop (same element just useing conditional statements.
Now I’m just need the main screen stay locked.


I’ve built it this way because the popup element can’t be fixed to the top of the screen.

I hope this help you understand, why I’m going down this route.

Thanks
Jonathon

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