Behavior of down arrow key in dropdowns is inconsistent across Horizon

Bug #1639958 reported by Eddie Ramirez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
In Progress
Low
Ivan Kolodyazhny

Bug Description

Dropdowns on Bootstrap lets you cycle through its item using the "Down" arrow key, but this behavior is not consistent in both Django and NG panes - actually seems to not work at all on NG panes, focus area for next releases.

----------------------
How to reproduce:
----------------------
1. Go to Project->Images/Admin->Images.
2. Expand any dropdown inside the resource panel - could be the one that shows "row actions".
3. Press the "Down" arrow key.
4. Go to a Django Pane and repeat last steps, see that the event does cycle the items in the dropdown.

----------------------
Actual result:
----------------------
The "event" won't "activate" the next item in the dropdown. It does not cycle (this on NG panels)

----------------------
Expected result:
----------------------
There's a keydown event attached to the <ul> element containing all items. This event should let you cycle through all the elements in the dropdown when the user hits the "Down" arrow key.

Learn more: http://getbootstrap.com/components/#dropdowns and in the "Bootstrap Theme Preview" "http://yourhorizon/developer/#/buttons" pane.

Note: Fixing this issue could drastically improve the UX of Magicsearch since all Facets and options are displayed using dropdowns - you cannot select any of those options using ONLY the keyboard (you need to click them).

Eddie Ramirez (ediardo)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/395216

Changed in horizon:
assignee: nobody → Eddie Ramirez (ediardo)
status: New → In Progress
Revision history for this message
Gary W. Smith (gary-w-smith) wrote :

Unassigning due to inactivity

Changed in horizon:
importance: Undecided → Low
assignee: Eddie Ramirez (ediardo) → nobody
status: In Progress → Confirmed
tags: removed: dropdown
Changed in horizon:
assignee: nobody → Ivan Kolodyazhny (e0ne)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Ivan Kolodyazhny (<email address hidden>) on branch: master
Review: https://review.openstack.org/395216
Reason: This review is > 4 months without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by "Vishal Manchanda <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/horizon/+/395216
Reason: due to long inactivity and no response from the author.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.