question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bug: pulling ion-refresher causes large title to be collapsed

See original GitHub issue

Bug Report

Ionic version:

v5.0.4

Current behavior:

When ionic-refresher is pulled it interferes with the collapsible titles. Ionic App

Expected behavior: ionic-refresher shouldn’t after the state of collapsible titles, thus leaving the large title active. Ionic App (1)

Steps to reproduce:

  1. Create a component that contains a collapsible title
  2. Add an ion-refresher
  3. Add an ng-content tag so it can be used in another page 4… Use it as a page template, injecting content through ng-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:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
gbrunowcommented, Mar 3, 2020

@liamdebeasi that actually makes a lot of sense, thank you for your time!

0reactions
ionitron-bot[bot]commented, Apr 2, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found