How to hide scrollbar from pop-up

0
I have a pop-up page with layout as Modal pop-up ,Popup layout Atlas Core. Width =800 Height = 927 How can i remove the scrollbar? I do not wish to use Pop-up MxModelreflection as its alignment is not per requirement and there is much less spacing from borders. Mendix version is 9.10
asked
4 answers
1

Either remove content from popup so it fits. Or increase size of popup  as it makes no sense to have no scrollbar,but content is overflowing. 

 

answered
1

Hi Pragya,

Give a classname for the page as view2 and reduce the width of the scrollbar to 0

where you can’t able to see the scroll instead your page will scroll apply the below CSS in your scss file.

.view2::-webkit-scrollbar{

    width:0px !important;

}

this will work you can hide the scrollbar.

answered
0

I don't think the comment was asking to remove the scroll function, but rather the scrollbar itself.

 

You can do this straight from the page properties section.

 

You can add a class to the popup for additional styling (personally I like to remove the headers) or use the style section and add scrollbar-width:none; to disable the scrollbar visibility (This with the headers removed and the overflow hidden makes for a very clean look Imho).

answered
0

Write scrollbar-width:none; in the styles of the page

answered