Skip to content

fix(overflow-menu): firefox bug with focus outline#476

Merged
marijohannessen merged 1 commit into
carbon-design-system:masterfrom
joshblack:fix/update-overflow-focus
Jan 4, 2018
Merged

fix(overflow-menu): firefox bug with focus outline#476
marijohannessen merged 1 commit into
carbon-design-system:masterfrom
joshblack:fix/update-overflow-focus

Conversation

@joshblack

Copy link
Copy Markdown
Contributor

Closes #475

Firefox includes absolutely positioned children in the focus style of a containing element, as a result OverflowMenu would have a larger focus outline in Firefox than it would in other browsers.

This PR adjusts the focus styles to be based on box-shadow instead of outline to resolve this behavior for carbon-components-react

Changelog

New

Changed

  • Update OverflowMenu to use box-shadow for focus states

Removed

@tw15egan

Copy link
Copy Markdown
Contributor

Hmm, seems like we lose the outline when the menu is open in Chrome now. Could we target only Firefox with this fix?

@tw15egan

Copy link
Copy Markdown
Contributor

Disregard, seems like we always lose the outline in Chrome once the menu is opened. 👍 ✅

@marijohannessen marijohannessen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@marijohannessen marijohannessen merged commit 9415b7f into carbon-design-system:master Jan 4, 2018
asudoh pushed a commit to asudoh/carbon-components that referenced this pull request Jan 5, 2018
asudoh pushed a commit to asudoh/carbon-components that referenced this pull request Jan 5, 2018
designertyler pushed a commit to designertyler/carbon that referenced this pull request Oct 14, 2019
* fix: update charts ci fix

* fix: one more upgrade

* fix: 15
paul-palade added a commit to paul-palade/carbon that referenced this pull request May 25, 2026
Submitting 2 new UI icons from June 2026 and updated categories.
Updated master file. All additions and updates approved by BXD.
Addressing issues carbon-design-system#474, 475 and carbon-design-system#476 in brand/ui-icons.

### Changelog

**New**

`Systems`
- [x] 32/coupling-facility.svg
- [x] 32/zos--partition.svg

**Updated**

`Systems`
- 32/coupling-facility-encryption.svg
  Updated aliases in icons.yml
paul-palade added a commit to paul-palade/carbon that referenced this pull request May 25, 2026
Submitting 2 new UI icons from June 2026 and updated categories.
Updated master file. All additions and updates approved by BXD.
Addressing issues carbon-design-system#474, 475 and carbon-design-system#476 in brand/ui-icons.

### Changelog

**New**

`Systems`
- [x] 32/coupling-facility.svg
- [x] 32/zos--partition.svg

**Updated**

`Systems`
- 32/coupling-facility-encryption.svg
  Updated aliases in icons.yml
iamnexxed pushed a commit to iamnexxed/carbon that referenced this pull request May 29, 2026
* feat(icons): new Icons June 2026

Submitting 2 new UI icons from June 2026 and updated categories.
Updated master file. All additions and updates approved by BXD.
Addressing issues carbon-design-system#474, 475 and carbon-design-system#476 in brand/ui-icons.

### Changelog

**New**

`Systems`
- [x] 32/coupling-facility.svg
- [x] 32/zos--partition.svg

**Updated**

`Systems`
- 32/coupling-facility-encryption.svg
  Updated aliases in icons.yml

* Fixed rendering issue (Systems): 32/coupling-facility.svg

Updating 1 UI icon from June 2026 and updated categories.
All additions and updates approved by BXD.

### Changelog

**Updated**

`Systems`
- [x] 32/coupling-facility.svg
  Fixed rendering issue with the SVG vector displaying broken line.

* Update packages/icons/icons.yml

Co-authored-by: Mahmoud <132728978+maradwan26@users.noreply.github.com>

* chore: update snapshots

---------

Co-authored-by: Mahmoud <132728978+maradwan26@users.noreply.github.com>
Co-authored-by: Mahmoud <maradwan26@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Overflow menu outline expanded by dropdown in Mozilla

3 participants