[docs] [issue24712] Docs page's sidebar vibrates on mouse wheel scroll on Chrome.

Biwin John report at bugs.python.org
Sat Jul 25 11:34:05 CEST 2015


Biwin John added the comment:

The problem exist with the Chrome on Ubuntu, Windows and OSX, but ony with the python docs for version 2.7.

Docs for 2.6 use the same sidebar.

But in 2.7 docs, the content of sidebar is positioned with the style added on scroll,

style="float: left; margin-right: 0px; width: 202px; top: 13px;"

The top value is calculated on scroll, the same code works with FireFox without any problem.

So it might be the way chrome handles the change in values. And we must workaround with our code than waiting for Chrome to get fixed.

Needs to be fixed as, 2.7 is the most used version, comes default with most distros and chrome is the most used browser (50.25% of all)[https://en.wikipedia.org/wiki/Usage_share_of_web_browsers]

Recommendations:
1. Change the sidebar behavior to the 2.6 docs sidebar one.(default top value, users can scroll up to see the content)
or.
2. Make the sidebar position:fixed and provide a inner scroll bar.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24712>
_______________________________________


More information about the docs mailing list