Opened 14 years ago

Last modified 12 years ago

#6286 closed defect

Toaster does not work with Dialog up — at Version 4

Reported by: guest Owned by: dante
Priority: high Milestone: tbd
Component: DojoX Widgets Version: 1.0
Keywords: dojox Toaster Dialog Cc: [email protected]
Blocked By: Blocking:

Description (last modified by dante)

I was trying out the Toaster widget and I noticed that it doesn't work when a dialog is up. The toaster always moves to the upper left corner of the dialog's title bar, underneath the dialog's Title text.

Tested with 1.0 and 1.1b3.

<div dojoType="dojox.widget.Toaster"

id="PB_Toaster" jsId="PB_Toaster" positionDirection="tr-down" style="display:hide" duration="2500"></div>

Thanks!

Josh

Change History (4)

comment:1 Changed 14 years ago by guest

I meant to say "The text always moves to the upper left"

Johs

comment:2 Changed 14 years ago by guest

ok - this is still a bug, but works as described above if you forget to load dojox/widget/Toaster/Toaster.css (which isn't mentioned on the dojo book page). When loading the CSS the wiget appears in what can only be described as "odd" positions.

Can the book page:

http://www.dojotoolkit.org/book/dojo-book-0-9/part-5-dojox-extensions-dojo/experimental-widgets/toaster

be updated to show inclusion of Toaster.css?

Josh

comment:3 Changed 14 years ago by guest

Little more info - seems like if the Toaster widget is declared in the page content returned by the dialog (via an href for example) then the above behavior happens. If I move the Toaster div to the main page what also defines the dialog then the Toaster appears where it should (though it is grayed out). I'm not sure what an "ideal" solution would be - it'd be nice I guess if the Toaster appeared in the Dialog's corners but I can see cases with small dialogs where that is not desirable.

Josh

comment:4 Changed 13 years ago by dante

Description: modified (diff)

Can you possibly attach a testcase demonstrating this not working? There seems to be varying levels of "bug" in this ticket.

Note: See TracTickets for help on using tickets.