modal popups do not scroll in website

sukhonomar
70 Posts
sukhonomar posted this 28 July 2021
Report a bug

When I create a modal popup and then launch live, the popup is not showing all content, tried to scroll down to see the rest but the popup is frozen there, and scrolling with the mouse or using the down arrow is disabled.

I tried figuring it out in the modal popup settings, but there is no tool to unfreeze the popup.

When I create a modal popup and then launch live, the popup is not showing all content, tried to scroll down to see the rest but the popup is frozen there, and scrolling with the mouse or using the down arrow is disabled. I tried figuring it out in the modal popup settings, but there is no tool to unfreeze the popup.
Vote to pay developers attention to this features or issue.
7 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 28 July 2021

Hi Omar,

The modal popup is positioned fixed on the screen, but on the small screen it can go down the screen borders as you have a lot of content in the popup.
You can try to decrease the height of the popup or edit the position to be shown on the top of the screen.

...................................................
Sincerely,
Hella
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Omar, The modal popup is positioned fixed on the screen, but on the small screen it can go down the screen borders as you have a lot of content in the popup. You can try to decrease the height of the popup or edit the position to be shown on the top of the screen. ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
matin_z
5 Posts
matin_z posted this 04 April 2022

Unfortunately, most of the cases in Nicepage and Themler are incomplete and there are flaws.

To solve this problem, just put (modal-body-scroll) in the CSS Class section of the modal-popup,
Then enter the following codes in the css site settings.

.modal-body-scroll {
min-height: unset !important;
max-height: calc(100vh - 100px) !important;
overflow-y: auto !important;
}

Unfortunately, most of the cases in Nicepage and Themler are incomplete and there are flaws. To solve this problem, just put (modal-body-scroll) in the CSS Class section of the modal-popup, Then enter the following codes in the css site settings. .modal-body-scroll { min-height: unset !important; max-height: calc(100vh - 100px) !important; overflow-y: auto !important; }
Support Team
Support Team posted this 04 April 2022

Hello Omar,

We are glad that you find the solution. You always could use our suggestions above as well for now.
Thanks for your feedback and information, we added your suggestion to our wishlist so our Developer Team could check and test such possibilities according to workload and Nicepage Road map.
...................................................
Sincerely,
Negat Veri
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello Omar, We are glad that you find the solution. You always could use our suggestions above as well for now. Thanks for your feedback and information, we added your suggestion to our wishlist so our Developer Team could check and test such possibilities according to workload and Nicepage Road map. ................................................... Sincerely, Negat Veri Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
m4trix.dev
36 Posts
m4trix.dev posted this 14 December 2022

Unfortunately, most of the cases in Nicepage and Themler are incomplete and there are flaws.

To solve this problem, just put (modal-body-scroll) in the CSS Class section of the modal-popup,
Then enter the following codes in the css site settings.

.modal-body-scroll {
min-height: unset !important;
max-height: calc(100vh - 100px) !important;
overflow-y: auto !important;
}

Thank for sharing this Matin

Nicepage, this should be hard coded in all popup to ensure readability

> Unfortunately, most of the cases in Nicepage and Themler are incomplete and there are flaws. > > To solve this problem, just put (modal-body-scroll) in the CSS Class section of the modal-popup, > Then enter the following codes in the css site settings. > > .modal-body-scroll { > min-height: unset !important; > max-height: calc(100vh - 100px) !important; > overflow-y: auto !important; > } Thank for sharing this Matin Nicepage, this should be hard coded in all popup to ensure readability
sukhonomar
70 Posts
sukhonomar posted this 14 December 2022

Thank you

Thank you
DG Media
25 Posts
DG Media posted this 15 November 2023

Unfortunately this solution isn't working anymore for me. Is there a different approach in the meantime?

Unfortunately this solution isn't working anymore for me. Is there a different approach in the meantime?
matin_z
5 Posts
matin_z posted this 06 December 2023

Unfortunately this solution isn't working anymore for me. Is there a different approach in the meantime?

This always works, only the target class may be different. You need to replace .modal-body-scroll with the main class. I think that usually the class of all pop-ups is .u-dialog.
.u-dialog {

 min-height: unset !important;
 max-height: calc(100vh - 100px) !important;
 overflow-y: auto !important;

}

> Unfortunately this solution isn't working anymore for me. Is there a different approach in the meantime? This always works, only the target class may be different. You need to replace .modal-body-scroll with the main class. I think that usually the class of all pop-ups is .u-dialog. .u-dialog { min-height: unset !important; max-height: calc(100vh - 100px) !important; overflow-y: auto !important; }
You must log in or register to leave comments