Whenever we load ctools modal window on the page, the background scrolling makes it difficult for the users(especially mobile and tablet users) to scroll through the content inside the modal window. Can we disable the background scrolling whenever a ctools modal window is opened, so that users can have hassle free scrolling of inner content.

One way to overcome this issue is by adding class to body element on ctools modal window load and then using this class, we can disable/hide the background scrolling through css. Once the ctools modal window gets closed, we can remove the class added to body element.

Please let me know your thoughts about the issue and the recommended solution.

Comments

gouli created an issue. See original summary.

gouli’s picture

Issue summary: View changes