jeffreyhi1 / jscrollpane

Automatically exported from code.google.com/p/jscrollpane
0 stars 0 forks source link

Option for default behavior when reaching end of scroll area. #179

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. With a scrollpane on the page, and the page has enough separate content
to scroll on its own. As you are scrolling down in the scrollpane, when you
reach the end of the pane, the browser window takes over and begins
scrolling the page. 
2.
3.

What is the expected output? What do you see instead?

 If the user were scrolling quickly to see what content is in the pane
before scrolling back up to read it, the scrollpane is pushed away from the
mouse when the browser takes control. The user then has to scroll back up
and position the mouse back in the scrollpane to do what they wanted. It
would be an improvement if the window didnt scroll until the mouse left the
scrollpane 

What version of the jScrollPane are you using? On what browser? And
operating system?
$Id: jScrollPane.js 90 2010-01-25 03:52:10Z $
FF,IE
Vista

Original issue reported on code.google.com by wgw...@gmail.com on 30 Mar 2010 at 8:00

GoogleCodeExporter commented 9 years ago
The behaviour you see is as intended. This is how an ordinary div with 
overflow: auto
will behave and that is the behaviour that jScrollPane emulates... 

You may be able to work around it by disabling the mousewheel plugin when the
scrollpane is at the end of it's scrolling.

Original comment by kelvin.l...@gmail.com on 31 Mar 2010 at 2:38