gromo / jquery.scrollbar

jQuery CSS Customizable Scrollbar
GNU General Public License v2.0
756 stars 238 forks source link

IE9 reading scroll size as double in conjunction with box-sizing: border-box; on sites. #6

Closed splicebison closed 10 years ago

splicebison commented 10 years ago

Perhaps an edge-case, but I (and a lot of people) use * { box-sizing: border-box; } as a general CSS rule. In this case, IE9 reads the scroll bar sizes as 34px instead of 17px. This is fixed by adding to line 625 of jquery.scrollbar.js an additional rule of "box-sizing": "content-box" in order to override other box-sizing rules used in responsive sites.

gromo commented 10 years ago

Thanks. This global CSS property breaks CSS styles for some scrollbars in IE. I'm going to fix these problems and release new version with fixes in next few days.

gromo commented 10 years ago

Finally fixed. Version updated with fixes & new features