-
-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug fix: "Active" button not getting focused state #384
bug fix: "Active" button not getting focused state #384
Conversation
@afzalzbr there are some linting issues in CI |
@arturbien okay I'll check. |
@arturbien fixed the linting issue, please review and approve. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like we can make this PR a lot simpler.
Just remove the !active
flag on line 167 instead of adding the code you've added. I think the result will be the same right?
@arturbien yup, you are right. I removed it and it's working fine now. |
@afzalzbr great! Now before I merge please squash all the commits into single commit with message:
|
bug fix: active button focus issue resolved removed !active flag from line 167. bug fix: "Active" button not getting focused state
20e6e4c
to
9b92208
Compare
@arturbien done |
@afzalzbr your commit was merged to master. Thank you for the contribution <3 |
The
focusOutline
was not including any case for active === true.I've made changes in the file:
src\Button\Button.tsx
:Following is the working example of the fix for the 'Active' button, followed by a picture showing no other buttons' styles are being compromised:
I hope this helps!
Fixes #383