Opened 7 years ago
Closed 7 years ago
#17550 closed defect (invalid)
dropdownbutton's menu stays open
Reported by: | gerhard presser | Owned by: | gerhard presser |
---|---|---|---|
Priority: | undecided | Milestone: | tbd |
Component: | Dijit | Version: | 1.9.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
following scenario: dropdown-button with it's dropdown being open. the dropdownbutton is part of another widget/layoutcontainer the layoutcontainer is part of e.g. a stackcontainer. somehow the selected child-pane changes and the dropdownbutton isn't visible anymore. the dropdown-menu jumps to the left-top-corner.
I tracked it down to dijit/popup._repositionAll
this code repositions popups even if their 'anchor-node' isn't visible anymore and therefore it's position is {x:0,y:0,h:0,w:0}
I suppose in this case the popup should be closed?
Change History (2)
comment:1 Changed 7 years ago by
Owner: | set to gerhard presser |
---|---|
Status: | new → pending |
comment:2 Changed 7 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!
Yes, the popup should close when the anchor node isn't visible anymore, and AFAICT that works correctly. It's triggered by focus moving to another node.
Feel free to attach a test case, although my guess is that: