diff --git a/.changeset/cuddly-frogs-bow.md b/.changeset/cuddly-frogs-bow.md new file mode 100644 index 00000000000..b52281c77dc --- /dev/null +++ b/.changeset/cuddly-frogs-bow.md @@ -0,0 +1,5 @@ +--- +"@primer/react": patch +--- + +Fix Button styles while dragging inactive variants diff --git a/packages/react/src/Button/ButtonBase.module.css b/packages/react/src/Button/ButtonBase.module.css index 7850550f4a0..e0e070e14e0 100644 --- a/packages/react/src/Button/ButtonBase.module.css +++ b/packages/react/src/Button/ButtonBase.module.css @@ -503,7 +503,8 @@ /* Inactive */ &:where([data-inactive]), - &:where([data-inactive]):hover { + &:where([data-inactive]):hover, + &:where([data-inactive]):active { color: var(--button-inactive-fgColor); cursor: auto; background-color: var(--button-inactive-bgColor);