Skip to content

Commit

Permalink
fix(day-view): fix scrolling on touch devices
Browse files Browse the repository at this point in the history
Closes #358
  • Loading branch information
Matt Lewis committed Oct 21, 2017
1 parent a0675bf commit e887b89
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scss/day-view.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@
background-color: #fafafa;
}

/* stylelint-disable-next-line selector-type-no-unknown */
mwl-calendar-day-view-hour-segment {
// hacky fix for https://github.com/mattlewis92/angular-calendar/issues/358 and hammerjs breaking scrolling
touch-action: initial !important;
user-select: initial !important;
-webkit-user-drag: initial !important;
}

/* stylelint-disable-next-line selector-type-no-unknown */
mwl-calendar-day-view-hour-segment, // fix for https://github.com/mattlewis92/angular-calendar/issues/260
.cal-hour-segment {
Expand Down

0 comments on commit e887b89

Please sign in to comment.