Opened 9 years ago

Closed 4 years ago

#12769 closed defect (patchwelcome)

FloatingPane reverts to old location when DateTextBox dropdown opened

Reported by: mtyson Owned by: dante
Priority: high Milestone: 1.13
Component: DojoX Layout Version: 1.6.0
Keywords: floating pane, popup Cc: mtyson@…
Blocked By: Blocking:

Description (last modified by bill)

Problem: When you have a floating pane with a DateTextBox in it, when you use the DateTextBox, the floating pane resets to its previous location

Steps:

1) Create a dojox float pane with a DateText box in it.
2) Drag the floating pane to new location
3) Click on the date text box. As the popup appears, the float pane with snap back to its previous location

I tracked this down to this line in the popup code:

_createWrapper()
dojo.connect(widget, "destroy", function(){
	dojo.destroy(wrapper);
	delete widget._popupWrapper;
}); 

When the dojo.destroy() calls executes, the floating pane resets.

Change History (2)

comment:1 Changed 9 years ago by bill

Description: modified (diff)
Owner: set to dante
Summary: _createWrapper() dojo.connect(widget, "destroy", function(){ dojo.destroy(wrapper); delete widget._popupWrapper; }); ing pane position reset when popup (DateTextBox) used insideFloatingPane reverts to old location when DateTextBox dropdown opened

destroy() shouldn't be getting called at all when opening the calendar dropdown.

comment:2 Changed 4 years ago by dylan

Milestone: tbd1.12
Resolution: patchwelcome
Status: newclosed

Given that no one has shown interest in creating a patch in the past 4+ years, I'm closing this as patchwelcome.

Note: See TracTickets for help on using tickets.