Skip to content

Commit

Permalink
fix(spreadsheet): scroller should have a higher z-index on touch devices
Browse files Browse the repository at this point in the history
  • Loading branch information
Juveniel committed Sep 3, 2020
1 parent 23a1ffa commit 1a8976a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/default/scss/spreadsheet/_layout.scss
Expand Up @@ -359,6 +359,11 @@
-webkit-overflow-scrolling: touch;
position: absolute;
z-index: 1;

@media (hover: none), (pointer: coarse) {
// on touch devices we want this to stay on top.
z-index: 3;
}
}


Expand Down

0 comments on commit 1a8976a

Please sign in to comment.