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

Already on GitHub? Sign in to your account

V 2.9.5 Scrollable Div not working in IE8 #48

Closed
dreipol opened this Issue Jul 11, 2012 · 2 comments

Comments

Projects
None yet
3 participants
@ghost

ghost commented Jul 11, 2012

Looks like Scrollables Div are not working in IE8 (didn't test ie7 & 6) with the latest release, scrollbars do not show up or are placed somewhere outside.

I can confirm nicescroll is not working in IE8 and IE7 and probably anything below. Look in the updateScrollBar() function at a line like this:

pos.top+= parseFloat(self.win.css('border-top-width'));

For border width IE will return a value like 'medium' and when you run parseFloat() on that you get NaN. This results in no top or left positioning being added to the scrollbar elements. Note that IE returns a string like 'medium' even when the actual border width on the element is 0px. I would love to see a proper fix for this, but I'll probably hack something in the meantime.

Owner

inuyaksa commented Jul 11, 2012

Same as issue #47
I'm working on it.
Thanks for feedback.

inuyaksa added a commit that referenced this issue Jul 11, 2012

2.9.6 - fix for IE7/IE8
- IE7/IE8, scrollbar displayed on wrong position for NaN value as border width (issues #47 #48)

@inuyaksa inuyaksa closed this Aug 7, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment