Brief icon indicating copy to clipboard operation
Brief copied to clipboard

Unwanted automatic down scrolling on new message (+ FIX)

Open thimo opened this issue 11 years ago • 0 comments

In my Skype client (Mac Skype 6.1.60) the chat view scrolls down on each new message (quite irritating). Where in the default theme the view only scrolls down if you're near the bottom.

The cause of this is in the main.css:

html, body { height: 100%; }

With "height: 100%;" the document.body.offsetHeight always returns the height of the window and thus the method _nearBottom() always returns true. This "height: 100%;" isn't in the default theme.

Changing the CSS to this fixes the automatic scrolling behavior:

html, body { /*height: 100%; */ }

thimo avatar Apr 05 '13 08:04 thimo