Skip to content

Commit ac83d60

Browse files
fix(ui5-button): remove tap highlight on safari (#10786)
Before: When you click on button on mobile in safari, there was a gray rectangle appearing on touch end. https://github.com/user-attachments/assets/40450726-eb4d-4122-9a70-7c3355dbc08f After: https://github.com/user-attachments/assets/0385a6a9-0b28-450a-80d5-8dcbfd78b7c8 fixes: #10777
1 parent ff6d77d commit ac83d60

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/main/src/themes/Button.css

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
white-space: nowrap;
2222
overflow: hidden;
2323
text-overflow: ellipsis;
24+
-webkit-tap-highlight-color: transparent;
2425
}
2526

2627
.ui5-button-root {

0 commit comments

Comments
 (0)