fix(content): resolve height inheritance issues (#20309)

fixes #20305
This commit is contained in:
Liam DeBeasi
2020-01-27 13:00:10 -05:00
committed by GitHub
parent 00340885fb
commit 09bef71ccd
3 changed files with 10 additions and 8 deletions

View File

@ -161,7 +161,7 @@ export class Refresher implements ComponentInterface {
}
private async setupiOSNativeRefresher(pullingSpinner: HTMLIonSpinnerElement, refreshingSpinner: HTMLIonSpinnerElement) {
this.elementToTransform = this.scrollEl!.querySelector(`#scroll-content`) as HTMLElement | undefined;
this.elementToTransform = this.scrollEl!;
const ticks = pullingSpinner.shadowRoot!.querySelectorAll('svg');
const MAX_PULL = this.scrollEl!.clientHeight * 0.16;
const NUM_TICKS = ticks.length;