Comments (11)
Hi, very interesting problem.
Soon It have to be fixed.
I write a workaround, you can find it at
http://www.areaaperta.com/nicescroll/test/issue20/
Look at setFixedRail function in the page source.
from jquery.nicescroll.
Hey there,
Thank you for the solution.
Even before that I observed that if we use nicescroll with a wrapper div as
pointed in the examples, the discussed bug does not affect its
functionality.
Praveen
On Wed, Mar 14, 2012 at 2:18 AM, Inuyaksa <
[email protected]
wrote:
Hi, very interesting problem.
Soon It have to be fixed.I write a workaround, you can find it at
http://www.areaaperta.com/nicescroll/test/issue20/
Look at setFixedRail function in the page source.
Reply to this email directly or view it on GitHub:
from jquery.nicescroll.
Yep.
On normal div rail/cursor bar has absolute positioned about body context.
On wrapper div rail/cursr bar has relative positioned about main div.
from jquery.nicescroll.
Hello Inuyaksa,
Is there anything we can do to initiate resize and rerender scroll bar
after updating the contents of the Scrollable Div using Ajax?
Thank you.
On Fri, Mar 16, 2012 at 2:51 AM, Inuyaksa <
[email protected]
wrote:
Yep.
On normal div rail/cursor bar has absolute positioned about body context.
On wrapper div rail/cursr bar has relative positioned about main div.
Reply to this email directly or view it on GitHub:
from jquery.nicescroll.
You have to call resize method.
$("your div").getNiceScroll().resize();
Have you tried last version? I have insert code to detect div position changing.
from jquery.nicescroll.
Thank you!
Will try now!
On Fri, Apr 20, 2012 at 2:10 AM, Inuyaksa <
[email protected]
wrote:
You have to call resize method.
$("your div").getNiceScroll().resize();
Have you tried last version? I have insert code to detect div position
changing.
Reply to this email directly or view it on GitHub:
from jquery.nicescroll.
I am simply doing this - let me know if it works
$(window).bind('scroll',function(){
$("#element").getNiceScroll().resize();
});
from jquery.nicescroll.
I suggest to call resize method only after content has added to div.
Binding scroll trigger resize every time div has scrolled. (many many times at second)
from jquery.nicescroll.
hello,
i am having a problem with the absoultely positioned scrolls as i have absolutely positioned items off the screen, and when i apply the nicescroll the page will scroll horizontally ... the fixed positioning fixes it .. but your hack above doesnt work .. is there a way to have as a parameter .. to choose between absolute or fixed ?
Thanks
from jquery.nicescroll.
Could you please show us a demo of what you are trying to do - would surely help!
from jquery.nicescroll.
of course, if you go to http://ahmadassaf.com/blog/main/#1
then in the About me section, you will see the timeline implemented .. if you kindly scroll to slide (7) dated Septemeber 2010 and then simply apply this on the console:
$('.vco-slider .slider-item').niceScroll();
then you will notice that a horizontal scroller shows .. and that there are lots of scroller divs appended with absolutely positioned property which causes that
Thanks a lot
from jquery.nicescroll.
Related Issues (20)
- Respect prefers-reduced-motion: reduce
- Scrollbar in mobile HOT 1
- css scroll-snap-type compatibility HOT 2
- Middle-click scroll does not work HOT 2
- scroll event HOT 2
- niceScroll with re sizable textarea height.
- sorry nothing - was cleaning my keyboard
- overflow:hidden for body not work in nicescroll in active HOT 2
- users script for browser
- ERROR: [Intervention] Unable to preventDefault .......... HOT 7
- The page doesn't scroll to show search results when we use Ctrl+F to search text in page HOT 1
- Touchpad scroll on horizontal gets too hard and sticky HOT 1
- Smoothscroll
- [Webpack] - niceScroll is not a function
- Unable to preventDefault inside passive event listener due to target being treated as passive.
- Nice Scroll doesnโt work on ios
- code is wrong
- Browser search with Ctrl + f not scrolling to searched results on enter with nicescroll.
- nicescroll not working well on android Google Chrome in Samsung Galaxy fold 2
- scrollbar get wrong position
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery.nicescroll.