Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ion-infinite-scroll doesn't work inside ion-scroll (ion-scroll doesn't fire scrolling events) #13904

Closed
pavelglebov opened this issue Jan 29, 2018 · 4 comments
Labels
ionitron: v3 moves the issue to the ionic-v3 repository

Comments

@pavelglebov
Copy link

Ionic version: (check one with "x")
(For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[x] 3.x
[ ] 4.x

I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request

Current behavior:
ion-scroll component doesn't fire scroll events, this affects functionality which is dependent on them (e.g. ion-infinite-scroll inside ion-scroll doesn't work).

Expected behavior:
ion-infinite-scroll works inside ion-scroll

Steps to reproduce:
Please check code below:

Related code:

<ion-content>
  ... // some dynamic non-scrollable content

  <ion-scroll scrollY="true">
    <ion-infinite-scroll (ionInfinite)="loadMore($event)" position="top">
      <ion-infinite-scroll-content></ion-infinite-scroll-content>
    </ion-infinite-scroll>

    <div>
      <custom-component *ngFor="let message of messages" [message]="message"></custom-component>
    </div>
  </ion-scroll>
</ion-content>

Other information:

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.9.2
    ionic (Ionic CLI) : 3.9.2

global packages:

    Cordova CLI : 7.1.0 

local packages:

    @ionic/app-scripts : 3.1.5
    Cordova Platforms  : none
    Ionic Framework    : ionic-angular 3.9.2

System:

    ios-deploy : 1.9.2 
    Node       : v6.11.5
    npm        : 3.10.10 
    OS         : macOS Sierra
    Xcode      : Xcode 9.2 Build version 9C40b 
@vinicius91carvalho
Copy link

vinicius91carvalho commented May 29, 2018

@jayzyaj
Copy link

jayzyaj commented Jul 23, 2018

Does it has a proper solution already?

@Ionitron Ionitron added the ionitron: v3 moves the issue to the ionic-v3 repository label Nov 29, 2018
@ionitron-bot
Copy link

ionitron-bot bot commented Nov 29, 2018

This issue has been automatically identified as an Ionic 3 issue. We recently moved Ionic 3 to its own repository. I am moving this issue to the repository for Ionic 3. Please track this issue over there.

If I've made a mistake, and if this issue is still relevant to Ionic 4, please let the Ionic Framework team know!

Thank you for using Ionic!

@ionitron-bot
Copy link

ionitron-bot bot commented Nov 29, 2018

Issue moved to: ionic-team/ionic-v3#548

@ionitron-bot ionitron-bot bot closed this as completed Nov 29, 2018
@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Nov 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ionitron: v3 moves the issue to the ionic-v3 repository
Projects
None yet
Development

No branches or pull requests

4 participants