jQWidgets Forums
jQuery UI Widgets › Forums › Lists › ComboBox › Combo box Getting Closed on Windows Scroll
Tagged: combobox control
This topic contains 7 replies, has 2 voices, and was last updated by Peter Stoev 11 years, 9 months ago.
-
Author
-
Hi Team,
I am currently using combo box but when I scroll down using the browser scrollbar, the combo box get closed. If i scroll through mouse, it is not closing but on windows scroll bar click, it get closed. Please provide me the fix for this.
Regards
http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxcombobox/index.htm
You can see the example on this page as well. Open the list and try clicking the scroll bar, it will close.
Hi Gaurav Arora,
That behavior is by design. ComboBox will be closed if you scroll up/down i.e when the page raises the ‘scroll’ event or there is a click on the document outside the ComboBox.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com/Yes, outside the combobox is perfectly fine, but if my combobox is at the bottom of the page, the list view is blocked, unless and until I have to scroll down using the windows scroll. Please let me know if there is any fix for this. I have to put it in my code because the list view is blocked and i need to scroll down to see the list and dont want the combo box to close unless and until i click outside the combo box.
See this page, it is not closing on windows scroll.
Hi Gaurav Arora,
The demo page is in IFrame and it does not have scrollbar. The scrollbar is in the outer document. If your ComboBox is at the bottom of your page, then enable the “enableBrowserDetection” feature of the ComboBox and its Popup will be opened above, not below the widget so no scrolling will be necessary.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com/Click on checkboxes section and try scrolling the window, the combo box will not close.
Yes, i have tried that as well, but when i enable autoComplete: “checked”, then as soon as the option is matched, the option is displayed wrongly in the window. It is not displayed close to combo box, but it is far away from the actual combo box. I dont know why it is not working properly.
Hi Gaurav Arora,
Unfortunately, we cannot change the built-in behavior. The ComboBox’s DropDown will close on scroll.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com/ -
AuthorPosts
You must be logged in to reply to this topic.