Combo positioning bug with document border

If there is a border on the document, then the combo list appears in the wrong place. Attached is sample code for the bug.

The fix seems simple but I am not sure if it will work in all cases:

in dhtmlXCombo.prototype.getPosition

instead of returning:
return [pos.left,];

I return:
return [pos.left+parseInt(,];

And that worked. (951 Bytes)


Yes, there is such a problem in old IE versions. We will fix it in the next version. Thanks for sharing your solution !