← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1605374] [NEW] Modal closes when pressing ESC and dropdown is expanded

 

Public bug reported:

How to reproduce:
1. Open a modal window that has a dropdown component (not select element)
2. Expand the dropdown
3. Press ESC key
4. See how the whole modal closes

Expected result:
Pressing the ESC key when a dropdown is expanded should only close the dropdown and not the modal itself. This event shouldn't be propagated to parent elements, try closing any other dropdown that is not inside of a modal and see expected result.

Actual result:
The modal window catches the event and closes itself.

** Affects: horizon
     Importance: Undecided
         Status: New


** Tags: ux

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1605374

Title:
   Modal closes when pressing ESC and dropdown is expanded

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  How to reproduce:
  1. Open a modal window that has a dropdown component (not select element)
  2. Expand the dropdown
  3. Press ESC key
  4. See how the whole modal closes

  Expected result:
  Pressing the ESC key when a dropdown is expanded should only close the dropdown and not the modal itself. This event shouldn't be propagated to parent elements, try closing any other dropdown that is not inside of a modal and see expected result.

  Actual result:
  The modal window catches the event and closes itself.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1605374/+subscriptions