-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
bug(refresher): mode does not account for child pages with global mode set #29137
Comments
Thank you for submitting the issue! The issue is due to the 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. |
Hi @thetaPC thank you for your snippet!
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 |
@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! |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
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 pagesSteps to Reproduce
See Stackblitz
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
The text was updated successfully, but these errors were encountered: