bigblocho5 / jquery-nicescroll

Automatically exported from code.google.com/p/jquery-nicescroll
0 stars 0 forks source link

Can we restrict nice scroll to create rails div in body #44

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Apply nice scroll to any div having scrollbar.
2. Hide this div on any action like click on any button.
3. The will be hide but scrollbar (nice scroll rails div) will be always 
visible.

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

Scrollbar should be hide if its respected div hide.

We can hide this also by calling its hide() on any event.
and one more solution is available by apply this using

 DIV with "wrapper", formed by two divs, the first is the vieport, the latter is the content

but the problem, it is not possible with every condition, if there are multiple 
action available on screen and content added dynamically than we will have to 
hide rails div.

Please provide any additional information below.

This problem is persist because every rails div is appended in body so could it 
possible instead of appending its on body, appending it to its respected div so 
if we hide the div it will be automatically hide.

I am waiting for a solution, your most welcome

Original issue reported on code.google.com by siddhart...@gmail.com on 13 Sep 2013 at 7:44