jQuery 1.4.3 changes behaviour of $('.e').css('width', null)
|Reported by:||Owned by:|
My jScrollPane plugin [ http://jscrollpane.kelvinluck.com/ ] breaks when I update to jQuery 1.4.3. I haven't gone over it fully yet but I suspect that this line is no longer working as it did:
The aim of this line is to remove any styles added by jQuery which were effecting the width of the element so that it can take up it's natural space in the page. It is used so that you can reinitialise the plugin after the size of elements on the page has changed (e.g. http://jscrollpane.kelvinluck.com/dynamic_width.html ).
You can experiment here: http://www.jsfiddle.net/VKYHK/
Try resizing your browser window. The scrollbars will update correctly. Now change it to jQuery 1.4.3 on the left hand side and re-run the page. When you resize you will see that the scroll pane doesn't correctly calculate its new width...
Change History (7)
comment:6 Changed 7 years ago by
|Component:||unfiled → css|
|Keywords:||css null added|
|Priority:||undecided → low|
|Status:||new → closed|