jquery-getscrollbarwidth
jquery-getscrollbarwidth copied to clipboard
Problem in IE when there is a global width applied to textareas
I ran into a problem with this handy plugin when IE would be returning 0 for the scrollbar width.
It turned out that the problem was caused by a global CSS rule giving textareas a fixed width, which made this plugin return wrong results in IE.
Setting width to "auto" on the generated textareas fixes the problem.