We're updating the issue view to help you get more done. 

DropDownMenu does not close after update panel resets the focus

Description

The DropDownMenu closes when the user moves the focus off the title element. If the title element gets removed from the DOM during an asynchronous postback, this logic no longer works. A solution must handle keyboard and mouse events, not trigger the closing too early, etc.

Until this is fixed, a workaround exists for the user by clicking again on the dropdown button.

Repro:

  1. Focus on BocAutoCompleteReferenceValue input element with enabled auto postback

  2. Change text

  3. Click to open DropDownMenu (click outside of the text/anchor, this prevents setting the focus)

  4. Focus is returned to input element instead of remaining on the expanded DropDownMenu (bug)

  5. DropDownMenu cannot be closed (bug)

Notes:

  • Patch-file contains additional fix needed.

  • is required to fix behavior with BocAutoCompleteReferenceValue when clicking on the link text itself

  • Can be reproduced in Chrome but not Internet Explorer

  • Backup for SmartFocus happens before the click event. Perhaps we need to set the ActiveElement during mouse-down or mouse-up to force the issue?

Assignee

Marcel Holle

Reporter

Michael Ketting

Labels

Time tracking

5h

Components

Fix versions

Affects versions

Priority

Normal
Configure