mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-17 18:54:11 +08:00
fix(refresher): update animation for dashed property values (#20310)
This commit is contained in:
@ -41,10 +41,10 @@ const createBaseAnimation = (pullingRefresherIcon: HTMLElement) => {
|
|||||||
const circleInnerAnimation = createAnimation()
|
const circleInnerAnimation = createAnimation()
|
||||||
.addElement(circle)
|
.addElement(circle)
|
||||||
.keyframes([
|
.keyframes([
|
||||||
{ offset: 0, 'stroke-dasharray': '1px, 200px' },
|
{ offset: 0, strokeDasharray: '1px, 200px' },
|
||||||
{ offset: 0.20, 'stroke-dasharray': '1px, 200px' },
|
{ offset: 0.20, strokeDasharray: '1px, 200px' },
|
||||||
{ offset: 0.55, 'stroke-dasharray': '100px, 200px' },
|
{ offset: 0.55, strokeDasharray: '100px, 200px' },
|
||||||
{ offset: 1, 'stroke-dasharray': '100px, 200px' }
|
{ offset: 1, strokeDasharray: '100px, 200px' }
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const circleOuterAnimation = createAnimation()
|
const circleOuterAnimation = createAnimation()
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
<ion-content>
|
<ion-content>
|
||||||
<ion-refresher id="refresher" slot="fixed">
|
<ion-refresher id="refresher" slot="fixed">
|
||||||
<ion-refresher-content pulling-text="Pull to refresh..." refreshing-spinner="bubbles" refreshing-text="Refreshing...">
|
<ion-refresher-content pulling-text="Pull to refresh..." refreshing-text="Refreshing...">
|
||||||
</ion-refresher-content>
|
</ion-refresher-content>
|
||||||
</ion-refresher>
|
</ion-refresher>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user