Opened 8 years ago

Closed 3 years ago

#12843 closed defect (patchwelcome)

Dialog: does not show when you set css display to none in external stylesheet vs inline

Reported by: jihohan Owned by:
Priority: low Milestone: 1.13
Component: Dijit Version: 1.6.0
Keywords: Cc:
Blocked By: Blocking:

Description

When I define a dialog using markup and specify Display to none in external stylesheet, so that the dialog won't show up without dojo, Dialog does not show up at all, when called with show().

However, when I use inline styling on the html tag to hide it, show() method works correctly.

Refer to this email thread:

http://dojo-toolkit.33424.n3.nabble.com/dijit-Dialog-initial-css-display-none-td2871603.html

Change History (3)

comment:1 Changed 8 years ago by bill

Component: GeneralDijit
Milestone: tbdfuture
Summary: Dialog does not show when you set css display to none in external stylesheet vs inlineDialog: does not show when you set css display to none in external stylesheet vs inline

Thanks, will look at eventually. The popup code would need to set style="display: block" for when a node is shown, rather than just clearing any style="display: none". IIRC, the problem is that some popups, like Menu, are <table>'s rather than <div>'s and they don't want display:block but rather display:table (or something like that).

comment:2 Changed 6 years ago by bill

Priority: highlow

comment:3 Changed 3 years ago by dylan

Milestone: future1.12
Resolution: patchwelcome
Status: newclosed

Given that no one has shown interest in creating a patch in the past 4+ years, I'm closing this as patchwelcome.

Note: See TracTickets for help on using tickets.