Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Draggable parent #45

Closed
lexx23 opened this issue Jul 9, 2012 · 5 comments
Closed

Draggable parent #45

lexx23 opened this issue Jul 9, 2012 · 5 comments
Labels

Comments

@lexx23
Copy link

lexx23 commented Jul 9, 2012

If parent was moved scroll stay on fixed position, i added this changes

this.showCursor = function(py) {
this.updateScrollBar();

@inuyaksa
Copy link
Owner

Good solution!

I have to try if it's too cpu intensive.
I prefer have a light impact in term of clock requirement to execute nicescroll.

In this situation I suggest to use resize() function. So you force nicescroll to update position and size only when you need. (small foot-print on browser execution load)

@goncalolucas
Copy link

I have the same problem, when using 2 nice scrollbars (one inside another).

When this issue will be fixed?

@inuyaksa
Copy link
Owner

I'm investigating.

@inuyaksa
Copy link
Owner

Grouped with #123

inuyaksa added a commit that referenced this issue Dec 26, 2012
New features
- new method "toggle" (show/hide), thanks to rbravo - close #126

Fixes
- bouncescroll, can't disabling bounce scroll - close #121
- added compatibility with Chrome "Emulate Touch Events" Mode
- nicescroll into a parent nicescroll or native scrollable div - close #45 close #123
- browsers wheelDeltaY enabled (Chrome 23, Safari+Mac 10.6), mousescrollstep ignored - close #127
@lewisstevens1
Copy link

What i done in the code changed this section...
this.body = $("body");
to
this.body = me;

Me has been used to pass the jQuery $(this) variable.

Thanks
Lewis

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

No branches or pull requests

4 participants