fix(refresher): add correct fallbacks for native refreshers (#20333)

This commit is contained in:
Liam DeBeasi
2020-01-29 15:36:09 -05:00
committed by GitHub
parent e580b88477
commit fd55427991
3 changed files with 7 additions and 4 deletions

View File

@ -174,7 +174,7 @@ export const shouldUseNativeRefresher = (referenceEl: HTMLIonRefresherElement, m
pullingSpinner !== null &&
refreshingSpinner !== null &&
(
(mode === 'ios' && isPlatform('mobile')) ||
(mode === 'ios' && isPlatform('mobile') && (referenceEl.style as any).webkitOverflowScrolling !== undefined) ||
mode === 'md'
)