From 7bf778449d338d3385fdad0e1f79ca4193561a77 Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Thu, 13 Jul 2023 13:16:17 -0400 Subject: [PATCH] fix(refresher): progressively reveal refresher --- core/src/components/refresher/refresher.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/core/src/components/refresher/refresher.tsx b/core/src/components/refresher/refresher.tsx index 470175100a..2bcc786675 100644 --- a/core/src/components/refresher/refresher.tsx +++ b/core/src/components/refresher/refresher.tsx @@ -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}%)`); } /**