Skip to content

Breadcrumbs Item retains CSS focus styling after focus has passed on to new element #5294

Open
@GrantRussell

Description

Provide a general summary of the issue here

Breadcrumbs Item retains CSS focus styling even after focus has passed on to a new element.

🤔 Expected Behavior?

Breadcrumb Item should properly remove the blue focus border when it is no longer the focused element in the browser.

😯 Current Behavior

The blue focus border remains around the breadcrumb element.

💁 Possible Solution

N/A

🔦 Context

We are using Breadcrumbs to navigate to a higher-level folder, then pressing tab to start keyboard-navigating the TableView component below the Breadcrumbs.

🖥️ Steps to Reproduce

https://codesandbox.io/s/infallible-flower-x6jmfd?file=/src/App.js

  1. Select the Second breadcrumb item with mouse
  2. Press tab to start keyboard focus
  3. Notice breadcrumb item applies focus CSS even though TableView has the focus
  4. Use arrow keys to see that even though the focus has moved to TableView, the CSS blue highlighting remains on the Breadcrumb item.

Version

3.27.0

What browsers are you seeing the problem on?

Chrome

If other, please specify.

No response

What operating system are you using?

Windows

🧢 Your Company/Team

Adobe / Assets Essentials

🕷 Tracking Issue

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    • Status

      🗑 Deferred

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions