diff options
| author | Pliable Pixels <pliablepixels@users.noreply.github.com> | 2016-10-03 14:14:55 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-03 14:14:55 -0400 |
| commit | e69b00e63f06bcccafc713a46fc31847d598d419 (patch) | |
| tree | 94582a32a960488c2b3b0bc26577bc1c44e0d91a /www/templates/events.html | |
| parent | a1a8d2e24f638ffe5bcf7229fcc84271aa145282 (diff) | |
| parent | 8a8b1d9766735becc351643697ea9f495767ab6a (diff) | |
Merge pull request #340 from pliablepixels/shrinking-header
initial experiments
Former-commit-id: 5194ee61e6690f8ddbdbba3e9dd14a116c9bd929
Diffstat (limited to 'www/templates/events.html')
| -rw-r--r-- | www/templates/events.html | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/www/templates/events.html b/www/templates/events.html index 485cdc0d..8ea421a3 100644 --- a/www/templates/events.html +++ b/www/templates/events.html @@ -1,5 +1,6 @@ <ion-view cache-view="false"> + <ion-nav-title>{{scrollPosition();}}</ion-nav-title> <ion-nav-buttons side="left"> <button class="button button-icon button-clear ion-navicon" ng-click="openMenu()"> @@ -27,10 +28,12 @@ </div> - - <ion-content ng-cloak on-tap="tapped();" delegate-handle="mainScroll" has-subheader="true" overflow-scroll="false" mouse-wheel-scroll> - - + + <!-- collection repeat forces js scrolling, thing to remember --> + + <ion-content scroll-sista ng-cloak on-tap="tapped();" delegate-handle="mainScroll" mouse-wheel-scroll> + <!-- needed for header-shrink so first item doesn't go below header--> + <!-- <div style="height: 64px;"></div>--> <!-- lets make sure the events list is not empty as collection repeat needs height --> <div ng-if="!eventsBeingLoaded"> |
