Ticket #5952 (closed defect: worksforme)

Opened 4 months ago

Last modified 6 weeks ago

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

Reported by: guest Owned by:
Priority: normal Milestone: 1.2
Component: Dijit Version: 1.0
Severity: normal Keywords: dijit.Dialog Dialog
Cc:

Description (last modified by bill) (diff)

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

test_Dialog.html (16.4 kB) - added by guest 4 months ago.

Change History

Changed 4 months ago by guest

Changed 4 months ago by bill

  • milestone changed from 1.1 to 1.2

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

Changed 6 weeks ago by bill

  • status changed from new to closed
  • resolution set to worksforme
  • description modified (diff)

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.