Skip to content

fix: do not mark breadcrumbs item as focused when disabled#11847

Merged
web-padawan merged 1 commit into
mainfrom
fix/breadcrumbs-item-focus
May 27, 2026
Merged

fix: do not mark breadcrumbs item as focused when disabled#11847
web-padawan merged 1 commit into
mainfrom
fix/breadcrumbs-item-focus

Conversation

@web-padawan

Copy link
Copy Markdown
Member

Description

  • Added focus() method override to disallow focusing breadcrumbs item link when disabled
  • Added _shouldSetFocus() override to not set focused / focus-ring attributes when disabled
  • Removed pointer-events: none to allow text selection for disabled breadcrumbs items

Type of change

  • Bugfix

@web-padawan web-padawan requested review from jouni and vursen May 27, 2026 10:10
@web-padawan web-padawan force-pushed the fix/breadcrumbs-item-focus branch from d4696bb to 0c6edd3 Compare May 27, 2026 10:39
@sonarqubecloud

Copy link
Copy Markdown

@web-padawan web-padawan removed the request for review from jouni May 27, 2026 10:48
@web-padawan web-padawan merged commit 2b5d48b into main May 27, 2026
10 checks passed
@web-padawan web-padawan deleted the fix/breadcrumbs-item-focus branch May 27, 2026 10:49
@vaadin-bot

Copy link
Copy Markdown
Collaborator

This ticket/PR has been released with Vaadin 25.2.0-beta2.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants