#17350 closed feature (fixed)
Dialog: support dojox.layout.ResizeHandle
Reported by: | bill | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.10 |
Component: | Dijit | Version: | 1.9.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
On 1.7, dijit.Dialog can ostensibly be resized specifying the dialog widget ID to "targetId" property of dojox.layout.ResizeHandle?. It doesn't work perfectly though because only Dialog.domNode is resized, not Dialog.containerNode, which in particular means that if you size the dialog smaller than the content, you won't see a scrollbar because Dialog.containerNode extends past the bottom of Dialog.domNode.
On 1.8, the resize handle can't change the size of the dialog at all.
This seems because, dijit._DialogBase on 1.8 implement own resize() method, which does not respect the first parameter that ResizeHandle? passes.
The attached is a simple test case.
A workaround is assigning an ID to domNode of the dialog and pass the ID to "targetId", so that ResizeHandle? resizes the dialog DOM node, instead of calling resize() method of the dialog widget.
Attachments (1)
Change History (3)
Changed 6 years ago by
Attachment: | test_ResizeHandle.html added |
---|
comment:1 Changed 6 years ago by
Owner: | set to Bill Keese <bill@…> |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:2 Changed 6 years ago by
Milestone: | tbd → 1.10 |
---|
In f6f9ace2c5204869169c4d9f155718d14c78c102/dijit: