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

Commit

Permalink
Merge pull request #1075 from PolymerElements/abdonrd-patch-1
Browse files Browse the repository at this point in the history
Enable set passive touch gestures
  • Loading branch information
keanulee authored Oct 19, 2017
2 parents cd15ff7 + 5dc5e90 commit dab56d3
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 dab56d3

Please sign in to comment.