Skip to content

Commit 2bfe12e

Browse files
committed
fix(material/tabs): remove delay on touch devices (#31489)
Fixes that the tabs had a small delay on touch devices. Fixes #31488. (cherry picked from commit 15d9ef5)
1 parent 01e09d1 commit 2bfe12e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/material/tabs/_tabs-common.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ $mat-tab-animation-duration: 500ms !default;
2121
white-space: nowrap;
2222
cursor: pointer;
2323
z-index: 1;
24+
touch-action: manipulation;
2425
}
2526

2627
.mdc-tab__content {

0 commit comments

Comments
 (0)