fix(refresher): progressively reveal refresher

This commit is contained in:
Liam DeBeasi
2023-07-13 13:16:17 -04:00
parent 61062c7e51
commit 7bf778449d

View File

@@ -760,6 +760,7 @@ export class Refresher implements ComponentInterface {
scrollStyle.transitionDuration = duration;
scrollStyle.transitionDelay = backgroundStyle.transitionDelay = delay;
scrollStyle.overflow = overflowVisible ? 'hidden' : '';
this.el.style.setProperty('clip-path', `polygon(0 0, 100% 0, 100% ${y}%, 0 ${y}%)`);
}
/**