Make JQuery UI Dialog automatically grow HEIGHT to fit its contents (width remains static)

后端 未结 4 1867
名媛妹妹
名媛妹妹 2021-02-08 00:12

Having looked into Make JQuery UI Dialog automatically grow or shrink to fit its contents, I am using the height: \"auto\" option when building a jQuery modal dialo

4条回答
  •  再見小時候
    2021-02-08 01:07

    This all I have done for the dialog box to grow automatically

    $("#edit_dependent").dialog({
    
      autoOpen:false,
    
      modal:true,
    
      width:800,
    
      position:["center",20],
    
      minHeight:"auto"
    
    });
    

提交回复
热议问题