djett41 / ionic-scroll-sista

An Ionic plugin that hides the header/tabs while scrolling
MIT License
125 stars 38 forks source link

Not working #22

Open Hesesses opened 9 years ago

Hesesses commented 9 years ago

For me it works on browser, but not on a device.. I'm using 1.0.6 version. Any ideas?

<ion-view view-title="Preview" can-swipe-back="false" hide-back-button="false" cache-view="false">
    <ion-nav-title>Preview</ion-nav-title>
    <ion-nav-buttons side="secondary">
        <button class="button button-icon button-clear ion-checkmark"></button> 
    </ion-nav-buttons>

    <ion-content scroll-sista="header-tabs-subheader">

        <content here>

    </ion-content>
</ion-view>
djett41 commented 9 years ago

Whats not working? I'm going to need more info to take a look. You you have a codepen or repo that demonstrates the issue? And if so how can I reproduce? What errors are you seeing?

rrubio commented 8 years ago

@djett41 the demo looks great, just what i need! (thank you). I'm having the same issue as example above i.e nothing hides.

I'm only using it with "scroll-sista" and also tried "scroll-sista='tabs'". I've tested with "serve" and "ios emulator" Any tips?

PS - I am using infinite scroll.

rrubio commented 8 years ago

@Hesesses did yours work eventually? any tips?

Hesesses commented 8 years ago

@rrubio sometimes it works, but when browsing to another view its not working anymore. Or when coming back to view where it was working its not working anymore...

On Sun, Dec 27, 2015 at 9:29 AM, rrubio notifications@github.com wrote:

@Hesesses did yours work eventually? any tips?

Reply to this email directly or view it on GitHub: https://github.com/djett41/ionic-scroll-sista/issues/22#issuecomment-167390929

rrubio commented 8 years ago

@Hesesses weird... mine doesn't work at all. What version of ionic are you running?

mrhieu commented 8 years ago

Forget all the ionic version 1.2.0, 1.2.1. Scroll-sista doesn't work with them. I always got problem with "scrollTo" property until try it on 1.2.4. It even works properly with 1.1.0 and earlier. That's weird

correasebastian commented 8 years ago

you have to enable jsScrolling yourmodule.config(function($ionicConfigProvider) { //jsScroll enabling $ionicConfigProvider.scrolling.jsScrolling(true)})

this is a working example using ionic v1.2.4 https://github.com/correasebastian/shrink/