Skip to content

Commit

Permalink
Merge pull request #251 from matze09/bug/250-disable-touch-actions
Browse files Browse the repository at this point in the history
#250 Disable touch-actions on avatar canvas
  • Loading branch information
mosch authored Jun 4, 2018
2 parents c71c44c + 50ff365 commit 0a0535a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,7 @@ class AvatarEditor extends React.Component {
width: dimensions.canvas.width,
height: dimensions.canvas.height,
cursor: this.state.drag ? 'grabbing' : 'grab',
touchAction: 'none',
}

const attributes = {
Expand Down

0 comments on commit 0a0535a

Please sign in to comment.