Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#10076 closed defect (invalid)

content pane scroll bar placed directly after treenodes

Reported by: Jean-Rubin Leonard Owned by:
Priority: high Milestone: tbd
Component: Dijit Version: 1.3.2
Keywords: scrollbar content pane tree Cc: [email protected]
Blocked By: Blocking:


The horizontal scroll bar is placed directly after the last tree node. Upon horizontal resizing the scrollbar is placed at the bottom of the content pane, where it belongs.

Test file attached. JR

Attachments (1) (16.0 KB) - added by Jean-Rubin Leonard 12 years ago.

Download all attachments as: .zip

Change History (4)

Changed 12 years ago by Jean-Rubin Leonard

Attachment: added

comment:1 Changed 12 years ago by bill

Resolution: invalid
Status: newclosed

Yes, but you are just sticking the Tree inside the ContentPane without ContentPane knowing about it:

var treeScenarios = new dijit.Tree({id:"treeScenarios", persist:"false",model:treeModel,betweenThreshold:"5"});		

If you do a dijit.byId("cpTree").attr("content", treeScenarios); then it gets sized correctly the first time.

So, this doesn't seem like a bug.

comment:2 Changed 12 years ago by bill

(In [20532]) Only do the overflow: auto setting when Tree is functioning as a layout widget (ie, when resize(changeSize) (with a changeSize) has been called. Otherwise do the old overflow: visible.

I think this will be a less breaking change, particularly for the case where a narrow <div> contains a Tree widget, in that a horizontal scrollbar won't show up directly underneath the

Refs #9449, #10076 !strict.

comment:3 Changed 12 years ago by bill

PS: Meant to type "underneath the *Tree*" but hit the return key plus some control combination by accident and it committed out from under me.

Note: See TracTickets for help on using tickets.