Opened 11 years ago

Closed 11 years ago

#5952 closed defect (worksforme)

Dialog with duration of "1" doesn't load.

Reported by: guest Owned by:
Priority: high Milestone: 1.2
Component: Dijit Version: 1.0
Keywords: dijit.Dialog Dialog Cc:
Blocked By: Blocking:

Description (last modified by bill)

If you set the duration to "1" when building a programmatic dijit.Dialog, the Dialog won't be visible after you show() it.. its opacity remains "0" (per Firebug).

Tried with FF2 and IE6 with Dojo version 1.1.0 beta 2

The test case was made by simple adding "duration: 1" to the dijit.Dialog constructor in test_Dialog.html after trying to figure out why my Dialogs are all broken -- I don't want the fade effect.

This might not be a severe bug, but it's probably a sign that something's not right down below.

Attachments (1)

test_Dialog.html (16.4 KB) - added by guest 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by guest

Attachment: test_Dialog.html added

comment:1 Changed 11 years ago by bill

Milestone: 1.11.2

I assume this is actually a bug with the animation code although I'll have to make a test case.

comment:2 Changed 11 years ago by bill

Description: modified (diff)
Resolution: worksforme
Status: newclosed

Hmm, this is working for me, against 1.1.0 downloaded from download.dojotoolkit.org. Maybe it's machine dependent.

In any case, we modified Dialog for the 1.2 release so the background just appears instantly and then the dialog itself fades in. I suspect that will fix your problem.

Note: See TracTickets for help on using tickets.