Skip to content

Commit

Permalink
fix(Button): Button disabled with loading not prevent pointer events (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
shaodahong authored and afc163 committed Nov 27, 2019
1 parent bed1f77 commit 6030431
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/button/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@

&&-loading {
position: relative;
pointer-events: none;
&:not([disabled]) {
pointer-events: none;
}
}

&&-loading::before {
Expand Down

0 comments on commit 6030431

Please sign in to comment.