Opened 7 years ago

Closed 4 years ago

#16613 closed defect (patchwelcome)

FloatingPane moves back to creation position and resizes back to "creation" size when the browser "WINDOW" is resized

Reported by: miker Owned by:
Priority: undecided Milestone: 1.13
Component: DojoX Layout Version: 1.8.1
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

Floating pane moves back to creation position and resizes back to "creation" size when the browser "WINDOW" is resized.

sample file attached

Attachments (1)

myfloatingpane.html (8.6 KB) - added by miker 7 years ago.
floating pane example html file

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by miker

Attachment: myfloatingpane.html added

floating pane example html file

comment:1 Changed 7 years ago by bill

Description: modified (diff)
Summary: see ticket 14777 -- reopenFloatingPane moves back to creation position and resizes back to "creation" size when the browser "WINDOW" is resized

I think it's a different bug, I'll just leave this ticket open.

comment:2 Changed 4 years ago by jwoodburn

I believe this issue is caused by a typo in the resize() function, which is still there in 1.10.

The first line is:

this._naturalState=a=a||this._naturalState;

This looks like a double-entry error on the "=a". If this is changed to

this._naturalState=a||this._naturalState;

positioning will work properly.

comment:3 Changed 4 years ago by bill

@jwoodburn, thanks for tracking that down but I don't see any line like the one you described in https://github.com/dojo/dojox/blob/master/layout/FloatingPane.js, nor in the 1.10 or 1.10.0 version either.

comment:4 Changed 4 years ago by dylan

Milestone: tbd1.12
Resolution: patchwelcome
Status: newclosed

Also cannot verify this issue any more. Work has been done over the years to try to improve this. If it's still an issue, please open a pull request with a suggested fix. Thanks!

Note: See TracTickets for help on using tickets.