bug: pulling ion-refresher causes large title to be collapsed
See original GitHub issueBug Report
Ionic version:
v5.0.4
Current behavior:
When ionic-refresher
is pulled it interferes with the collapsible titles.
Expected behavior:
ionic-refresher
shouldn’t after the state of collapsible titles, thus leaving the large title active.
Steps to reproduce:
- Create a component that contains a collapsible title
- Add an ion-refresher
- Add an
ng-content
tag so it can be used in another page 4… Use it as a page template, injecting content throughng-content
Related code:
- Template:
<ion-header translucent="true">
<ion-toolbar>
<ion-buttons slot="end">
<ion-button>
<ion-icon name="person-circle-outline"></ion-icon>
</ion-button>
</ion-buttons>
<ion-title>{{title}}</ion-title>
</ion-toolbar>
</ion-header>
<ion-content [fullscreen]="true">
<ion-refresher slot="fixed" pullFactor="0.5" (ionRefresh)="doRefresh($event)">
<ion-refresher-content></ion-refresher-content>
</ion-refresher>
<ion-header collapse="condense">
<ion-toolbar>
<ion-title size="large">{{title}}</ion-title>
</ion-toolbar>
</ion-header>
<ng-content></ng-content>
</ion-content>
Other information:
- This does not happen if all the HTML is part of the same page (as shown in the sample for Tab 2) like so:
<ion-header translucent="true">
<ion-toolbar>
<ion-title>Tab 2</ion-title>
</ion-toolbar>
</ion-header>
<ion-content [fullscreen]="true">
<ion-refresher slot="fixed" pullFactor="0.5" (ionRefresh)="doRefresh($event)">
<ion-refresher-content></ion-refresher-content>
</ion-refresher>
<ion-header collapse="condense">
<ion-toolbar>
<ion-title size="large">Tab 2</ion-title>
</ion-toolbar>
</ion-header>
...
</ion-content>
Ionic info:
Ionic:
Ionic CLI : 6.1.0 (/usr/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/angular 5.0.4
@angular-devkit/build-angular : 0.803.25
@angular-devkit/schematics : 8.3.25
@angular/cli : 8.3.25
@ionic/angular-toolkit : 2.2.0
Capacitor:
Capacitor CLI : 1.5.0
@capacitor/core : 1.5.0
Utility:
cordova-res : not installed
native-run : not installed
System:
NodeJS : v13.7.0 (/usr/bin/node)
npm : 6.14.1
OS : Linux 4.4
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
bug: pulling ion-refresher causes large title to be collapsed ...
Bug Report Ionic version: v5.0.4 Current behavior: When ionic-refresher is pulled it interferes with the collapsible titles.
Read more >The Large Title UINavigationBar Glitches and How to Fix Them
If the activity indicator is located behind the collection view, the navigation bar will not collapse.
Read more >ion-refresher bug in ionic - Stack Overflow
but when i navigate to another page, and try to call the other ion-refresher, the refresher doenst pull and doenst refresh the page,...
Read more >Announcing Ionic 5! - Ionic Blog
The large title in iOS collapses into a standard-sized title when the content scrolls beyond a certain point. It can also be used...
Read more >iOS 14 Large title collapse when a… | Apple Developer Forums
The large title not show(small title instead of) when app first run, and it's right when I change contentInset's top to zero. ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@liamdebeasi that actually makes a lot of sense, thank you for your time!
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.