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

Enable set passive touch gestures #1075

Merged
merged 1 commit into from
Oct 19, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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