Opened 15 years ago

Closed 15 years ago

#2659 closed defect (worksforme)

layout doens't work in Safari when one of ContentPane widgets is hidden

Reported by: [email protected] Owned by: koranteng
Priority: blocker Milestone:
Component: Dijit Version: 0.4.2
Keywords: Cc:
Blocked By: Blocking:


as i figured out, when one dom node is hidden, getBorderBox returns empty string for width and height instead of numeric 0, thus layout engine fails to recalculate content panes position as getMarginBox returns NaN for both W and H instead of zero. I think there is a simple fix, but it stops my site from working under Safari

tested under Safari 2.0

Change History (2)

comment:1 Changed 15 years ago by Adam Peller

Component: DOMDijit
Owner: changed from anonymous to koranteng

comment:2 Changed 15 years ago by bill

Resolution: worksforme
Status: newclosed

Yup, you can't get the size of a hidden box; I think this is all working better in Dijit 0.9, which shouldn't be sizing panes until they are shown, but without a testcase it's impossible to tell exactly what you were doing.

Note: See TracTickets for help on using tickets.