Opened 7 years ago

Closed 3 years ago

#15323 closed defect (patchwelcome)

ToggleSplitter container does not show up when parent div hides widgets' rendering phase via "visibility:hidden"

Reported by: Paul Christopher Owned by:
Priority: undecided Milestone: 1.13
Component: DojoX Layout Version: 1.7.2
Keywords: Cc:
Blocked By: Blocking:

Description

Description

So as to hide the rendering phase of the widgets, I use a wrapping "main" div which has CSS style "visibility:hidden". After rendering has been done, I make the content visible by setting "visibility:visible" in the ready callback. If this main div contains a BorderContainer with dojox.Layout.ToggleSplitters, all the containers using a ToggleSplitter do not show up for some unknown reason. However everything is fine if you use normal dijit splitters.

Steps to reproduce the issue

1) Run the attached test case. As you can see: All containers using a ToggleSplitter are missing.

2) Uncomment in the ready function the current workaround (i.e. make each ToggleSplitter container explicitly visible after the main div has been made visible). Rerun the test case. The ToggleSplitter containers will now show up correctly.

3) Now cross-check. Comment out the above fix again. Comment out the use of ToggleSplitter (line 51 et seq.), i.e. make Dojo use the default dijit splitter. Rerun the test. It will be fine. The splitter containers will show up immediately. There is no need to make them visible explicitly.

Attachments (1)

testToggleSplitter.html (2.3 KB) - added by Paul Christopher 7 years ago.

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by Paul Christopher

Attachment: testToggleSplitter.html added

comment:1 Changed 3 years ago by dylan

Milestone: tbd1.12
Resolution: patchwelcome
Status: newclosed

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

Note: See TracTickets for help on using tickets.