EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: jgautier on April 01, 2018, 01:17:14 AM



Title: Collapse problem since EasyUI 1.5.4.2
Post by: jgautier on April 01, 2018, 01:17:14 AM
Hi,

(sorry for my poor english)

When I've upgraded form EasyUI 1.5.3 to 1.5.4.2, I've got a strange collapse behaviour on some of my panels.

I declare my "Tags" panel like that :

Code:
<div id="p4" class="easyui-panel panel_image panel_kw" title="Tags (30)" data-options="collapsible:true,collapsed:true,href:'ajax_getmediakwmenus.php?medid=517111&amp;formname=form1',iconCls:'icon-kw'" style="width:1100px;height:260px;padding:10px;background:#fafafa;"></div>		

On 1.5.3, everything is ok (look at the first screen cap) :
- at the beginning this panel is collapsed, and only the panel header is visible
- when the panel is expanded, the panel height is set to 260 px
- when the panel is collapsed again, the panel height returns to 0 (I mean : only the panel header is visible)

On 1.5.4.2 (or 1.5.4.4), there's a problem with height of the panel  (look at the second screen cap) :
- at the beginning this panel is collapsed, BUT the panel height is already set to 260 px (cf. screen capture)
- when the panel is collapsed again, the panel height remains set to 260 px

Is there something changed about panel's height settings ?
Do I miss something ?

Thanks a lot for your help.

JG

EasyUI 1.5.3 : Right height of "Tags" panel :
(http://hanslucas.com/panel_right_height.png)

EasyUI 1.5.4.4 : Wrong height of "Tags" panel :
(http://hanslucas.com/panel_wrong_height.png)


Title: Re: Collapse problem since EasyUI 1.5.4.2
Post by: jarry on April 01, 2018, 05:16:19 AM
Please look at this example http://code.reloado.com/ubaciy3/edit#preview. It works fine.