robert
robert

Reputation: 857

Scroll content of ionic slides independently

Is there a way to scroll content of every ion-slide idependently from other slides?

In later versions there was a "workaround" using ion-scroll which is deprecated now. So every slide "caches" their latest scroll position.

<ion-slide>
   <ion-scroll>
      ... my content
   </ion-scroll>
</ion-slide>

Upvotes: 2

Views: 470

Answers (1)

fanwu
fanwu

Reputation: 104

You can try use [options] in ion-slides, maybe that's what you need.

example:

<ion-slides [options]="{ autoHeight: true }">

Upvotes: 1

Related Questions