Skip to content

Commit

Permalink
fix: Add position: relative to checkboxes, radio buttons, and data ta…
Browse files Browse the repository at this point in the history
…ble (#538)

to work around Chromium UI issue.
  • Loading branch information
jelslip authored Jan 23, 2024
1 parent 97c366f commit 0dca418
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions examples/discovery-search-app/src/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -148,3 +148,13 @@ h1 {
min-height: 0;
}
}

.#{$prefix}--checkbox-wrapper,
.#{$prefix}--radio-button-wrapper,
.#{$prefix}--data-table {
// This is to work around a Chrome quirk where focus on a Carbon checkbox or radio button will
// sometimes cause parts of the UI to move upwards, making it partially unusable.
position: relative;
}


0 comments on commit 0dca418

Please sign in to comment.