Conversation
|
The button I'm not aware of a JavaScript way of doing that and Blazor only has the plain See the current (faulty) behavior in action on dev.mudblazor.com after you click a button. Goal: Apply the |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #8767 +/- ##
==========================================
+ Coverage 89.82% 90.08% +0.25%
==========================================
Files 412 419 +7
Lines 11878 12178 +300
Branches 2364 2397 +33
==========================================
+ Hits 10670 10970 +300
+ Misses 681 668 -13
- Partials 527 540 +13 ☔ View full report in Codecov by Sentry. |
focus-visible instead of focus focus-visible instead of focus
focus-visible instead of focus |
@henon I couldn't find a better solution so I believe this total reversion should be merged until we discover something else. Otherwise the button will have a sticky style (unlike any other components). |
|
@LiZzeira FYI, this will revert your PR. |
Description
Currently if you click a button, it will apply the
:focusstyle and keep it there until you click somewhere else. This was done in #8575 to make the dialog show focus on the right button but should be reverted until we figure out a better way of applying only thefocus-visiblepseudo class or at least not leaving the button pressed style indefinitely.video2.mp4
Reverts #8575 #8709
How Has This Been Tested?
visually
Type of Changes
Checklist
dev).