Skip to content

Commit

Permalink
Command Center: Fix a style glitch on Safari (#50138)
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad authored May 1, 2023
1 parent e46718c commit afffbc4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/commands/src/components/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
}

.commands-command-menu__container {
// the style here is a hack to force safari to repaint to avoid a style glitch
will-change: transform;

[cmdk-input] {
border: none;
width: 100%;
Expand Down

0 comments on commit afffbc4

Please sign in to comment.