1

When something is logged in console, the scroll bar is not adjust automatically and hide the bottom of the Output screen.

enter image description here In the above image, I added a click Event Listener to the button to console some text.

When I click that button

enter image description here

The scrollbar is not adjusting and so, the bottom is not visible.

[tested on Edge and Chrome on windows 10 x64]

I am adding the sample below

function add(){
  console.log("test\ntest\ntest\ntest\ntest");
}
<p>Hello</p>
<p>Test</p>
<p>Hello</p>
<p>Test</p>
<p>Hello</p>
<p>Test</p>
<p>Hello</p>
<p>Test</p>
<p>Test</p>
<button onclick="add()">Add</button>

Try running it and click the button

You must log in to answer this question.

Browse other questions tagged .