Bug 45419 - #toTop element displayed with rubber band scrolling
Summary: #toTop element displayed with rubber band scrolling
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: WWW (show other bugs)
(earliest affected)
Hardware: All macOS (All)
: medium trivial
Assignee: Not Assigned
Depends on:
Reported: 2012-01-30 17:06 UTC by Chris Buckley
Modified: 2012-08-15 13:37 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

Fix to JavaScript scrollTop check (414 bytes, text/plain)
2012-01-30 17:06 UTC, Chris Buckley
Example of bug (41.83 KB, image/png)
2012-01-30 17:08 UTC, Chris Buckley

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Buckley 2012-01-30 17:06:01 UTC
Created attachment 56353 [details]
Fix to JavaScript scrollTop check

In Mac OS X Lion, when reaching the edge of a scroll view, the view extends beyond the boundaries of the view before bouncing back. When at the top (or bottom) of a view, scroll can also be used to pull down beyond the boundary.

On the main libreoffice.org site, when pulling the page down, the #toTop element fades in, and then fades out when releasing the scroll.

The fix is trivial and changes the scrollTop check to require a positive value.

(Yes, I'm *really* bored...)
Comment 1 Chris Buckley 2012-01-30 17:08:55 UTC
Created attachment 56354 [details]
Example of bug
Comment 2 Christian Lohmaier 2012-08-14 23:07:58 UTC
Hi, thanks for the report, and sorry for the delay.

That bug was filed before notifications were sent to the mailinglist - so thanks to the QA-folks who're browsing through the existing bugreports...

I applied your change.