Skip to content

Commit e887b89

Browse files
author
Matt Lewis
committed
fix(day-view): fix scrolling on touch devices
Closes #358
1 parent a0675bf commit e887b89

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scss/day-view.scss

+8
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@
1010
background-color: #fafafa;
1111
}
1212

13+
/* stylelint-disable-next-line selector-type-no-unknown */
14+
mwl-calendar-day-view-hour-segment {
15+
// hacky fix for https://github.com/mattlewis92/angular-calendar/issues/358 and hammerjs breaking scrolling
16+
touch-action: initial !important;
17+
user-select: initial !important;
18+
-webkit-user-drag: initial !important;
19+
}
20+
1321
/* stylelint-disable-next-line selector-type-no-unknown */
1422
mwl-calendar-day-view-hour-segment, // fix for https://github.com/mattlewis92/angular-calendar/issues/260
1523
.cal-hour-segment {

0 commit comments

Comments
 (0)