Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#17350 closed feature (fixed)

Dialog: support dojox.layout.ResizeHandle

Reported by: bill Owned by: Bill Keese <bill@…>
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)

test_ResizeHandle.html (1.1 KB) - added by bill 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by bill

Attachment: test_ResizeHandle.html added

comment:1 Changed 6 years ago by Bill Keese <bill@…>

Owner: set to Bill Keese <bill@…>
Resolution: fixed
Status: newclosed

In f6f9ace2c5204869169c4d9f155718d14c78c102/dijit:

Error: Processor CommitTicketReference failed
Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? 

comment:2 Changed 6 years ago by bill

Milestone: tbd1.10
Note: See TracTickets for help on using tickets.