nicescroll, Fixed vs absolute issue
Closed this issue · 2 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1.set html to use nicescroll
2.set an inner item to use nicescroll
3.the new item is set to position:fixed(css),
What is the expected output? What do you see instead?
i expected the new item's scroll to stick with it, but the new item's scroll
moved up as i scrolled the page down, the new item iteself sticked to its
position cuz its css position is fixed.
What version of the product are you using? On what operating system?
2.9.6, and the new rc
Please provide any additional information below.
i fixed the issue but replacing every 'absolute' css in the js file to 'fixed',
but with this, i have a new problem if the html or the parent element doesn't
have a nicescroll, if the new item has nicescroll and the parent doesnt, then
if i scroll down the parent, the new item will move if it's not fixed, and the
scroll will stick to its position cuz its fixed already.
the plugin has to detect if the parent item has a nicescroll, or is it fixed or
not...etc, before deciding whether to move the nicescroll or make it fixed.
Original issue reported on code.google.com by emad....@gmail.com
on 22 Oct 2012 at 3:00
GoogleCodeExporter commented
Working on issue.
Copied here:
https://github.com/inuyaksa/jquery.nicescroll/issues/88
Original comment by inuya...@gmail.com
on 23 Oct 2012 at 8:19
- Changed state: Accepted
GoogleCodeExporter commented
Original comment by inuya...@gmail.com
on 19 Dec 2012 at 8:29
- Changed state: Fixed