-
Notifications
You must be signed in to change notification settings - Fork 143
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
fix: Buttonをloading状態に切り替えるとフォーカスが外れてしまう問題の修正 #4684
Conversation
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.
👍 変更内容を確認し、手元でフォーカス移動やホバー・クリック時の挙動、ハイコントラストモードでの見え方あたりを確認できました!
'aria-disabled:forced-colors:shr-border-[GrayText]', | ||
'aria-disabled:forced-colors:shr-text-[GrayText]', |
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.
いずれの variants でも共通のスタイルのため、compoundSlots に書く必要はなさそうに見えました。意図的でなければ default に移動しても良さそうです。
また、なぜ必要なスタイルなのかコードからは読み取りづらいので、コメントの追記をお願いします!(UA の disabled ではないから強制カラーモードの時に色が変わらない?
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.
提案修正 #4744
Related URL
https://smarthr.atlassian.net/browse/SHRUI-952
Overview
aria-disabledを使用することでフォーカスが外れないようにした
What I did
Capture