Skip to content

bug: ion-refresher appears and gets stuck when scrolling downwards #23245

@telpat0298

Description

@telpat0298

Bug Report

Ionic version:

[ ] 4.x
[x] 5.x

Current behavior:

When scrolling downwards ( by swiping upwards), the refresher appears on the top of the screen and gets stuck and is not spinning (shown in the screenshot). Refreshing normally by swiping downwards is working. Also refreshing normally makes the stuck refresher icon disappear.

Expected behavior:

The refresher icon should not appear when swiping upwards.

Steps to reproduce:

The ion-refresher element is the first element of the ion-content element and is followed by the list items

Related code:

<ion-content id="list-view-container">
        <ion-refresher slot="fixed" (ionRefresh)="doRefresh($event)">
            <ion-refresher-content></ion-refresher-content>
        </ion-refresher>
		<ng-container #instrumentscontainer></ng-container>
        <app-empty [dataCount]="dataCount"></app-empty>
</ion-content>

Other information:

Ionic info:

Ionic:

   Ionic CLI                     : 6.14.0 (/usr/lib/node_modules/@ionic/cli)
   Ionic Framework               : @ionic/angular 5.6.5
   @angular-devkit/build-angular : 0.1102.10
   @angular-devkit/schematics    : 11.2.10
   @angular/cli                  : 11.2.10
   @ionic/angular-toolkit        : 2.3.3

Capacitor:

   Capacitor CLI   : 2.4.7
   @capacitor/core : 2.4.7

Utility:

   cordova-res : not installed
   native-run  : not installed

System:

   NodeJS : v14.16.1 (/usr/bin/node)
   npm    : 7.11.1
   OS     : Linux 4.19

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions