Opened 14 years ago
Closed 14 years ago
#8172 closed enhancement (wontfix)
StackContainer: add in option for prerendering panes
Reported by: | Nathan Toone | Owned by: | Nathan Toone |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | Dijit | Version: | 1.2.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
an attribute of "prerender" would be helpful for rendering all child panes offscreen (using visibility:hidden instead of display:none).
The default would be false - which is the current behavior.
Attachments (1)
Change History (5)
comment:1 Changed 14 years ago by
Changed 14 years ago by
Attachment: | 8172_contentPanePrerender.patch added |
---|
Patch to add prerendering to stack container
comment:2 Changed 14 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Yup, this issue is already documented in #5672, but thanks for the patch.
(As peller suggested idea is to just make visbility:hidden the default)
comment:3 Changed 14 years ago by
Milestone: | 1.3 → tbd |
---|---|
Resolution: | duplicate |
Status: | closed → reopened |
Summary: | dijit.layout.StackContainer: add in option for prerendering panes → StackContainer: add in option for prerendering panes |
Oh I misunderstood this ticket... the goal wasn't to fix mis-layouts that occur due to display:none... it's to eliminate delay when switching between tabs by pre-rendering all the tabs. And it applies to any kind of tab, not just a ContentPane with multiple layout widgets inside of it.
Of course, the downside of this is that the initial page load is longer.
comment:4 Changed 14 years ago by
Resolution: | → wontfix |
---|---|
Status: | reopened → closed |
Due to the IE6 problems with visibility:hidden thing, I don't want to add this in as an actual option. It's something we can't support well so I don't want to go down that slope.
So, I'm going to close this ticket for now, listing that as a workaround.
Note that the StackContainer/TabContainer code has many places where it just resizes the selected pane... those would all need to be changed to resize every pane.
rather than branch the code, can we just make this the default? Any advantages to the display:none approach?