Opened 5 years ago

Closed 5 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 5 years ago by bill

Owner: set to gerhard presser
Status: newpending

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:

  1. you will have to fix this in your application by correctly setting focus
  2. the situation where "somehow the selected child-pane changes" means your application is not keyboard accessible, because focus is left on a hidden node.

comment:2 Changed 5 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

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!

Note: See TracTickets for help on using tickets.