Skip to content

Commit

Permalink
fix(Upload): action buttons focus style leave after click it (#44594)
Browse files Browse the repository at this point in the history
* fix(upload): actions_btn_focus_styles

* fix(upload): download button is still in focus state after being clicked

* fix(upload): use focus-visible instead focus

---------

Co-authored-by: zbw01218944 <zbw01218944@alibaba-inc.com>
  • Loading branch information
zbw-zbw and zbw01218944 committed Sep 4, 2023
1 parent c7a0928 commit 56724cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/upload/style/list.ts
Expand Up @@ -52,7 +52,7 @@ const genListStyle: GenerateStyle<UploadToken> = (token) => {
},

[`
${actionCls}:focus,
${actionCls}:focus-visible,
&.picture ${actionCls}
`]: {
opacity: 1,
Expand Down

0 comments on commit 56724cd

Please sign in to comment.