Skip to content

bug(refresher): mode does not account for child pages with global mode set #29137

@DwieDima

Description

@DwieDima

Prerequisites

Ionic Framework Version

v7.x

Current Behavior

When global mode is defined e.g. in angular using IonicModule.forRoot({ mode: 'ios' }), ion-refresher does not respect custom mode ('md') defined on component level on child pages.

Bildschirmaufnahme.2024-03-11.um.14.23.11.mov

Expected Behavior

mode on component level for ion-refresher should be applied also on child pages

Steps to Reproduce

See Stackblitz

  1. open "Listen Now" Tab
  2. pull-to-refresh --> md refresher is visible
  3. click button "detail"
  4. pull-to-refresh --> web refresher is visible (iOS)

Code Reproduction URL

https://stackblitz.com/edit/angular-od4spf?file=src%2Fapp%2Fhome%2Fhome-page.component.html

Ionic Info

7.x

Additional Information

No response

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