Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

Menu pills changes height when navigating with keyboard #1504

Open
@miroslavstastny

Description

@miroslavstastny

Bug Report

Steps

<Menu pills items={items} vertical />
  • Focus the first button with tab
  • Keyboard up and down with arrow keys
  • Observe the text in the pills move up and down

Actual Result

When keyboarding through a vertical, pills menu on Chrome, there is a margin below the pills that disappears when the focus styling is applied, causing the height of the list to change.

Version

0.33.0

Testcase

https://codesandbox.io/s/menu-pills-focus-g2gov

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions