While developing a web app using Google Apps Script, I have encountered an issue with the vertical scroll bar on the right side of the page. It seems to be present even when it's not necessary and does not function properly when scrolling.
The web app is contained within an iframe with the id userHtmlFrame
, which has the CSS property overflow-y: scroll;
set. This results in a constant scrollbar regardless of whether the content requires scrolling or not. This can lead to content being hidden on the right side of the page as illustrated here: https://i.sstatic.net/fRhtK.png
In cases where scrolling is needed, the scrollbar may not appear as expected.
Despite attempting to apply appropriate CSS styles, the issue persists. Changing the styling from within the iframe seems to be restricted.
Is there a solution for modifying the styling of the iframe or any other method to disable unnecessary scrolling when generating HTML in Google Apps Script?