Skip to content

Commit

Permalink
fix(refresher): properly calculate content dimensions in native ion-r…
Browse files Browse the repository at this point in the history
…efresher (#21157)
  • Loading branch information
liamdebeasi committed Apr 29, 2020
1 parent c53b136 commit 83dcc71
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/components/refresher/refresher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,8 @@ export class Refresher implements ComponentInterface {
const pullingSpinner = this.el.querySelector('ion-refresher-content .refresher-pulling ion-spinner') as HTMLIonSpinnerElement;
const refreshingSpinner = this.el.querySelector('ion-refresher-content .refresher-refreshing ion-spinner') as HTMLIonSpinnerElement;

await contentEl.componentOnReady();

if (getIonMode(this) === 'ios') {
this.setupiOSNativeRefresher(pullingSpinner, refreshingSpinner);
} else {
Expand Down

0 comments on commit 83dcc71

Please sign in to comment.