Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

AR-1935 Reset Button css outline #255

Merged
merged 1 commit into from
Nov 6, 2020

Conversation

justinanastos
Copy link
Contributor

@justinanastos justinanastos commented Nov 6, 2020

We recently changed the logic for displaying outlines on Buttons from using :focus in css in conjunction with calling blur() after clicking on a button to remove the focus to using useFocusRing from react-aria. The new logic no longer does anything with :focus { outline: ... }. This causes any side-wide focus styles to now be applied to our buttons.

Remove the outline in css because we're controlling it internally now.

Resolves AR-1935

📦 Published PR as canary version: 8.0.1-canary.255.6098.0

✨ Test out this PR locally via:

npm install @apollo/space-kit@8.0.1-canary.255.6098.0
# or 
yarn add @apollo/space-kit@8.0.1-canary.255.6098.0

@justinanastos justinanastos added the bug fix Increment the patch version when merged label Nov 6, 2020
@justinanastos justinanastos marked this pull request as ready for review November 6, 2020 15:30
@justinanastos justinanastos merged commit 39abbc2 into main Nov 6, 2020
@justinanastos justinanastos deleted the justin/AR-1935/button-outline branch November 6, 2020 15:31
@apollo-bot2
Copy link
Collaborator

🚀 PR was released in v8.0.1 🚀

@apollo-bot2 apollo-bot2 added the released This issue/pull request has been released. label Nov 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug fix Increment the patch version when merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants