Commit ac5775c
committed
fix: resolve IconButton onClick handler issue preventing clicks
The IconButton component was conditionally setting the onClick handler
based on the disabled state, which could prevent clicks from being
handled properly when onClick was undefined. The button now always
passes through the onClick handler and relies on the disabled attribute
to prevent clicks when disabled.
Fixes #75521 parent c7d7ad8 commit ac5775c
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments