From 9b60c66c6a7c270f79bb521cc98ae6e83c52b9e8 Mon Sep 17 00:00:00 2001 From: frankiefu Date: Mon, 9 Sep 2013 13:58:28 -0700 Subject: [PATCH] polymer-ui-card: set touch-action to receive PointerEvents for swipe --- polymer-ui-card/polymer-ui-card.html | 1 + 1 file changed, 1 insertion(+) diff --git a/polymer-ui-card/polymer-ui-card.html b/polymer-ui-card/polymer-ui-card.html index ba6ca4e..f0e35c6 100644 --- a/polymer-ui-card/polymer-ui-card.html +++ b/polymer-ui-card/polymer-ui-card.html @@ -45,6 +45,7 @@ offsetRatio: 0.2, widthRatio: 3, created: function() { + this.setAttribute('touch-action', 'pan-y'); this.transitionEndListener = this.transitionEnd.bind(this); }, leftDocument: function() {