Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Commit

Permalink
Enable set passive touch gestures
Browse files Browse the repository at this point in the history
  • Loading branch information
abdonrd authored Oct 19, 2017
1 parent cd15ff7 commit 5dc5e90
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/my-app.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,10 @@
</template>

<script>
// Gesture events like tap and track generated from touch will not be
// preventable, allowing for better scrolling performance.
Polymer.setPassiveTouchGestures(true);

class MyApp extends Polymer.Element {
static get is() { return 'my-app'; }

Expand Down

0 comments on commit 5dc5e90

Please sign in to comment.