EasyUI Forum

General Category => Bug Report => Topic started by: ryupanqui on August 10, 2014, 08:55:52 PM



Title: Menu: Incorrect position of Submenu.
Post by: ryupanqui on August 10, 2014, 08:55:52 PM
Hi JEasyui Team,

I am using v1.3.6... How I can fix this problem? this happens when the text of an item of the submenu is larger than the width of the window.

Pd. See my attachment file, test.html.


Title: Re: Menu: Incorrect position of Submenu.
Post by: stworthy on August 11, 2014, 02:08:53 AM
A menu item has a fixed height. Please prevent from defining too long text as a menu item. Set a 'width' style to a menu to limit the menu width.
Code:
<div style="width:150px">
<div>Address</div>
<div>Link</div>
<div>Navigation Toolbar</div>
<div>Bookmark Toolbar</div>
<div class="menu-sep"></div>
<div>New Toolbar...</div>
<div>000020: ork loin pork chop ...</div>
</div>