Skip to content

Commit

Permalink
Working with touch absorption and first touch-move disposition change.
Browse files Browse the repository at this point in the history
  • Loading branch information
tdresser committed Apr 29, 2014
1 parent ffe0e09 commit 6346b83
Show file tree
Hide file tree
Showing 4 changed files with 219 additions and 158 deletions.
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"tests"
],
"dependencies": {
"platform": "Polymer/platform#~0.2.0",
"polymer": "Polymer/polymer#~0.2.0"
"platform": "Polymer/platform#~0.2.2",
"polymer": "Polymer/polymer#~0.2.2"
}
}
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<script src="bower_components/platform/platform.js"></script>
<meta name="viewport" content="width=device-width, user-scalable=no">
<link rel="import" href="polymer-p2r.html">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<title>Polymer Pull to Refresh demo</title>
</head>
<style>
Expand Down Expand Up @@ -40,9 +41,9 @@
background-color: lightgrey;
-moz-box-sizing: border-box;
box-sizing: border-box;
height:100px;
height:800px;
text-align:center;
padding-top:50px;
padding-top:750px;
width: 100%;
}

Expand Down
6 changes: 3 additions & 3 deletions polymer-p2r.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
:host #scrollcontent {
position: relative;
width: 100%;
/* Offset p2r height */
top: -100px;
margin-bottom:-100px;
/* Offset p2r height. TODO: pull this from the header object */
top: -800px;
margin-bottom:-800px;
}

:host #p2r {
Expand Down
Loading

0 comments on commit 6346b83

Please sign in to comment.