Draggable: Draggable elements receive an explicit height in Firefox only
|Reported by:||orfc||Owned by:||tj.vantoll|
Firefox is v34.0.5
Made a draggable composed of two parts. Header (with the handle) and content. A button in the header should hide/show the content.
http://jsfiddle.net/cdv5bLLh/ jquery ui v.1.10.3, works ok in firefox,
http://jsfiddle.net/ck93q4of/53/ jquery ui v.1.11.2, works before dragging in firefox, but dragging then gives height css property a set value, so hiding/showing alters the display of the content but the containing box won't change in size (as the height property isn't auto anymore)
Looking through the new code it seems a call to normalizeRightBottom sets the height to a calculated value if the right and bottom position values aren't detected as "auto". Unfortunately firefox never returns values as "auto"
In Firefox, properties with the value auto return the used value, not the value auto
Change History (13)
comment:2 Changed 2 years ago by
|Status:||new → open|
|Summary:||draggble error in firefox + jquery 1.11.2. NormalizeRightBottom call overrides height "auto" value. → Draggable: Draggable elements receive an explicit height in Firefox only|
comment:10 Changed 2 years ago by
|Owner:||changed from mikesherov to tj.vantoll|