window.open and scrollbars

Hello,
I’m trying to create a html page on the fly and open it.
My code:

mywindow = window.open('Testing', 'Welcome', 'width=900,resizable,scrollbars');
mywindow.document.write(myText);

The variable myText has all the html content and it is displaying correctly.
However, since the content exceed one screen height, I’m unable to scroll down and see the entire contents.
Appreciate any input to fix this issue.

Many thanks,
-Adarsh

Hi @AdarshLokesh - can you create a repro on a site like CodePen and share a link? What browser are you using?

When I tried this on my local machine, I was able to see the scrollbars in Chrome on macOS:

Also, welcome to the forums :slight_smile: