Skip to content

Commit

Permalink
Prevent painting bugs on iOS Chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
Valentin Hervieu committed Jun 26, 2018
1 parent 8b54e1e commit 1b273a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export const Img = styled('img')({
bottom: 0,
left: 0,
right: 0,
willChange: 'transform', // this improves performances and prevent painting issues on iOS Chrome
})

const lineBorder = '1px solid rgba(255, 255, 255, 0.5)'
Expand Down

0 comments on commit 1b273a2

Please sign in to comment.