Skip to content

Commit

Permalink
Merge pull request #1755 from tf/opacity-flicker
Browse files Browse the repository at this point in the history
[WIP] Prevent shadow flickering while scrolling on iOS 14
  • Loading branch information
tf committed Nov 3, 2021
2 parents 1841764 + 6ede654 commit 64c0781
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
width: 100%;
z-index: 1;
transition: opacity 1s ease;
/* Prevents shadow from flickering on iPhone 12/iOS 14 */
will-change: opacity;
}

/* dark shadow */
Expand Down

0 comments on commit 64c0781

Please sign in to comment.