Dojo: dijit.form.DropDownButton content not positioned correctly
Posted
by Staale
on Stack Overflow
See other posts from Stack Overflow
or by Staale
Published on 2010-03-29T11:24:51Z
Indexed on
2010/04/08
7:53 UTC
Read the original article
Hit count: 244
dojo
|JavaScript
I have the following setup:
<div dojoType="dijit.form.DropDownButton">
<span>Modify</span>
<div dojoType="dijit.Menu">
<div dojoType="dijit.MenuItem">...</div>
</div>
</div>
There is of course more to the final setup. The problem I Have is that if I scroll in the page, the popup menu under the DropDownButton comes much higher in the page. I suspect that it's subtracting the scrollOffset for the position off the popup, while in reality that is not needed.
Anyone got any tips about how to fix this? I would prefer to use declerative html syntax for using Dojo widgets.
== Fixed == I updated to dojo 1.4.2 and this got fixed then.
© Stack Overflow or respective owner