Skip to content

Commit

Permalink
fix(refresher): update animation for dashed property values (#20310)
Browse files Browse the repository at this point in the history
  • Loading branch information
liamdebeasi authored Jan 27, 2020
1 parent 52f713c commit 44211c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions core/src/components/refresher/refresher.utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ const createBaseAnimation = (pullingRefresherIcon: HTMLElement) => {
const circleInnerAnimation = createAnimation()
.addElement(circle)
.keyframes([
{ offset: 0, 'stroke-dasharray': '1px, 200px' },
{ offset: 0.20, 'stroke-dasharray': '1px, 200px' },
{ offset: 0.55, 'stroke-dasharray': '100px, 200px' },
{ offset: 1, 'stroke-dasharray': '100px, 200px' }
{ offset: 0, strokeDasharray: '1px, 200px' },
{ offset: 0.20, strokeDasharray: '1px, 200px' },
{ offset: 0.55, strokeDasharray: '100px, 200px' },
{ offset: 1, strokeDasharray: '100px, 200px' }
]);

const circleOuterAnimation = createAnimation()
Expand Down
2 changes: 1 addition & 1 deletion core/src/components/refresher/test/basic/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<ion-content>
<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>

Expand Down

0 comments on commit 44211c1

Please sign in to comment.