jquery-getscrollbarwidth icon indicating copy to clipboard operation
jquery-getscrollbarwidth copied to clipboard

Problem in IE when there is a global width applied to textareas

Open mtyaka opened this issue 13 years ago • 0 comments

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.

mtyaka avatar May 25 '11 23:05 mtyaka