EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: sectioni on November 13, 2018, 09:49:38 AM



Title: combobox dropdown direction
Post by: sectioni on November 13, 2018, 09:49:38 AM
Hi,

How can i make it so that the dropdown would always open below the combobox, even when it's at the bottom of the page?
I have a border surrounding the top,right,left parts of the combobox, and a border surrounding the bottom,left,right parts of the dropdown, so that it would create a single border around both elements.

And if it opens above, it creates a problem..


Title: Re: combobox dropdown direction
Post by: jarry on November 18, 2018, 12:54:33 AM
Please set the 'panelValign' property to 'bottom'. Make sure to download the newest version from https://www.jeasyui.com/download/v16.php


Title: Re: combobox dropdown direction
Post by: sectioni on November 22, 2018, 11:13:31 AM
Works very well, thanks.

There is one improvement you can make (if possible) -
If the panelValign is set to 'bottom' and the combobox is at the bottom and I open it and i need to scroll down to see all the options, once I start scrolling with my mouse wheel or the scrollbar, the dropdown closes.
It would be helpful if it could stay open.