Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ const ImageURLInputUI = ( {
aria-expanded={ isOpen }
onClick={ openLinkUI }
ref={ setPopoverAnchor }
isActive={ !! url }
/>
{ isOpen && (
<URLPopover
Expand Down
4 changes: 4 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Bug Fix

- `Toolbar`: Remove CSS rule that prevented focus outline to be visible for toolbar buttons in the `:active` state. ([#56123](https://github.com/WordPress/gutenberg/pull/56123)).

### Internal

- Migrate `Divider` from `reakit` to `ariakit` ([#55622](https://github.com/WordPress/gutenberg/pull/55622))
Expand Down
5 changes: 0 additions & 5 deletions packages/components/src/toolbar/toolbar-button/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@
bottom: 10px;
}

// Hide focus rectangle on click.
&:active::before {
display: none;
}

&:not(:disabled).is-pressed[data-subscript]::after {
color: $white;
}
Expand Down