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: | Owned by: | koranteng | |
---|---|---|---|
Priority: | blocker | Milestone: | |
Component: | Dijit | Version: | 0.4.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
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
Component: | DOM → Dijit |
---|---|
Owner: | changed from anonymous to koranteng |
comment:2 Changed 15 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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.