#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: |
Description
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)
Change History (4)
Changed 11 years ago by
Attachment: | bcscrollbar.zip added |
---|
comment:1 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 11 years ago by
(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
comment:3 Changed 11 years ago by
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.
Yes, but you are just sticking the Tree inside the ContentPane without ContentPane knowing about it:
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.