Combo not closing when scrolling

Hi,
I have the dhtmlxCombo on a page. If opening the combo and then clicking anywhere outside the combo it closes, which is fine. But when i click on the scrollbar, scrolls the page, it does not close. Instead the content of the combo scrolls with the page.

Anyway to close the combo in an easy way? The scrolls are not attached to the page, instead it is a div that is scrolling.

Thanks
Markus

Hello,

if combo is inside some container with a scroll, you can set onscroll event handler to force combo closing:

...

Thanks. Tried that and it works great. Is there any way to get the combo to react on when the container it is in is scrolled and then close itself?

As for now I have to add that script to all containers holding the combo, and add it to future containers holding it.

Is there any way to get the combo to react on when the container it is in is scrolled and then close itself?

unfortunately combo doesn’t support this feature.