Commit cc10807
committed
fix(button): ripples blocking mouse events on user content
* The ripple overlay intercepts all mouse events on the user content and therefore users are not able to have interactive elements in their buttons.
Normally buttons should not contain interactive elements inside, but since the fix is very easy it wouldn't hurt fixing it.
* Removing the `(touchstart)` event that should prevent initial clicks because it didn't do anything (because of pointer-events: none) and the initial click doesn't
seem to happen anymore.
Related to angular#45031 parent 6121fa1 commit cc10807
2 files changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
| |||
74 | 79 | | |
75 | 80 | | |
76 | 81 | | |
77 | | - | |
78 | 82 | | |
79 | 83 | | |
80 | 84 | | |
| |||
0 commit comments