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 authored and joneff committed Sep 3, 2020
1 parent 4502e98 commit 3bfe713
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 3bfe713

Please sign in to comment.