Giter Site home page Giter Site logo

Comments (3)

thetaPC avatar thetaPC commented on April 27, 2024

Thank you for submitting the issue!

The issue is due to the RouterModule.forChild() setup in src/app/home/home-page.module.ts, it needs some adjustments to render the correct mode. You can use the code snippet below instead of your current one, and then you'll see that the ion-refresher will work properly, even if your page is nested inside other pages.

RouterModule.forChild([
  {
    path: '',
    component: HomePageComponent,
    children: [
      {
        path: 'detail',
        loadChildren: () => import('./home-page.module').then(m => m.HomePageModule)
      }
    ]
  }
])

If there are any other problems, please open a new issue.

from ionic-framework.

DwieDima avatar DwieDima commented on April 27, 2024

Hi @thetaPC

thank you for your snippet!
After further investigation, this bug does not only occur on child pages, but also on all tab pages where only the first initialized tab is working.
I extended the stackblitz, where I also added the refresher to the radio tab.

  1. open listen now tab
  2. pull-to-refresh
  3. refresh with md design works
  4. switch to radio tab
  5. pull-to-refresh
  6. web refresher is visible

since this bug also occurs on sibling pages where it cannot fixed by router as you suggested, is it possible to reopen the ticket?

Bildschirmaufnahme.2024-03-14.um.12.06.39.mov

from ionic-framework.

thetaPC avatar thetaPC commented on April 27, 2024

@DwieDima Please start a new issue just for this particular bug. We need each problem to have its own space so we can fix them properly. I highly recommend stripping the project down by removing the child pages since the new issue would focus on the tab pages. Thanks for understanding!

from ionic-framework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.