Opened 10 years ago
Closed 5 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: | [email protected]… |
Blocked By: | Blocking: |
Description (last modified by )
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 10 years ago by
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 inside → FloatingPane reverts to old location when DateTextBox dropdown opened |
comment:2 Changed 5 years ago by
Milestone: | tbd → 1.12 |
---|---|
Resolution: | → patchwelcome |
Status: | new → closed |
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.
destroy() shouldn't be getting called at all when opening the calendar dropdown.