Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Unwanted automatic down scrolling on new message (+ FIX) #10

Open
thimo opened this issue Apr 5, 2013 · 0 comments
Open

Unwanted automatic down scrolling on new message (+ FIX) #10

thimo opened this issue Apr 5, 2013 · 0 comments

Comments

@thimo
Copy link

thimo commented Apr 5, 2013

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%; */
}

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant