This is a migrated thread and some comments may be shown as answers.

[Solved] Combox box with overflow div issue

2 Answers 24 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Britto
Top achievements
Rank 1
Britto asked on 10 Feb 2012, 10:21 PM
If you have the telerik combo box in a div that has its overflow set to auto or scroll, and you open the combo-box to see the items and scroll the div, then the combo box is seperated from the drop down item.

See the attched screenshot images and the zip file of the project.

To reproduce the issue in the attached project, follow these steps
  • unzip the project zip file
  • run it and go to the detail tab on the home page
  • click on the drop down box to expand to see the items
  • now move the mouse cusrsor out of the combo box and to the div
  • scroll the mouse down
  • you will see that the drop down items gets seperated from the combo box

 

I had the same issue with the numeric text box and one of the forum solution suggested that I put a poistion:relative on the div or the tab. I did that and that fixed the issue with the numeric text box. but the issue with the drop down box is still not resolved. Any help to fix this issue will be appreciated.

thank
britto

2 Answers, 1 is accepted

Sort by
0
Accepted
Georgi Krustev
Telerik team
answered on 13 Feb 2012, 03:29 PM
Hello Britto,

 
I will suggest you close the popup element on scroll of the window:

$(window).bind("scroll", function() {
    $("combobox").data("tComboBox").close();
});
Greetings,
Georgi Krustev
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Britto
Top achievements
Rank 1
answered on 14 Feb 2012, 04:40 PM
Closing the drop down during scroll is an acceptable solution in my use case. I have implemented your solution and it works as expected. Thanks very much.
Tags
ComboBox
Asked by
Britto
Top achievements
Rank 1
Answers by
Georgi Krustev
Telerik team
Britto
Top achievements
Rank 1
Share this question
or