EasyUI Forum
May 09, 2024, 04:18:42 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: menu height higher than document height  (Read 9099 times)
ryupanqui
Newbie
*
Posts: 44


View Profile Email
« on: May 23, 2014, 09:25:59 PM »


When the menu height is higher than document height , some menu items are hidden, however has to show an scrollbar. See the attached file.
Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #1 on: May 24, 2014, 01:07:48 AM »

To solve this issue, you have to set the height of menu.
Code:
<div id="mm" class="easyui-menu" style="width:120px;height:200px;overflow:auto">
...
</div>
Logged
ryupanqui
Newbie
*
Posts: 44


View Profile Email
« Reply #2 on: May 24, 2014, 07:15:26 AM »

thanks for your reply, but in the worst case, if set the menu height to 200px and the browser is resized to less than 200px, the problem continue.

I think the menu height should fit the html document height, and showing a scroll if is necessary. In others words, the max height of menu should be the html document height like a default behaviour.
« Last Edit: May 24, 2014, 03:57:31 PM by roy.yupanqui » Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #3 on: May 25, 2014, 08:10:17 AM »

This issue has been solved now. Please download the latest patch file from http://www.jeasyui.com/download/downloads/jquery-easyui-1.3.6-patch.zip.
Logged
ryupanqui
Newbie
*
Posts: 44


View Profile Email
« Reply #4 on: May 25, 2014, 11:08:47 PM »

thanks for solve it.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!