Skip to content

Commit 3e7c192

Browse files
committed
- fix blinking issue of ripple spinner in mobile Safari
1 parent 9ae6bad commit 3e7c192

File tree

12 files changed

+105
-4
lines changed

12 files changed

+105
-4
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Change Logs
22

3+
# v2.0.2
4+
5+
- fix blinking issue of `ripple` spinner in mobile Safari
6+
7+
38
# v2.0.1
49

510
- add missing `vars.styl` and ensure build pass

dist/entries/ripple/index.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,20 @@
2020
}
2121
@keyframes lds-ripple {
2222
0% {
23+
top: 36px;
24+
left: 36px;
25+
width: 8px;
26+
height: 8px;
27+
opacity: 0;
28+
}
29+
4.9% {
30+
top: 36px;
31+
left: 36px;
32+
width: 8px;
33+
height: 8px;
34+
opacity: 0;
35+
}
36+
5% {
2337
top: 36px;
2438
left: 36px;
2539
width: 8px;

dist/entries/ripple/index.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,20 @@
470470
}
471471
@keyframes lds-ripple {
472472
0% {
473+
top: 36px;
474+
left: 36px;
475+
width: 8px;
476+
height: 8px;
477+
opacity: 0;
478+
}
479+
4.9% {
480+
top: 36px;
481+
left: 36px;
482+
width: 8px;
483+
height: 8px;
484+
opacity: 0;
485+
}
486+
5% {
473487
top: 36px;
474488
left: 36px;
475489
width: 8px;

dist/index.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/ripple.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,20 @@
2121
}
2222
@keyframes lds-ripple {
2323
0% {
24+
top: 36px;
25+
left: 36px;
26+
width: 8px;
27+
height: 8px;
28+
opacity: 0;
29+
}
30+
4.9% {
31+
top: 36px;
32+
left: 36px;
33+
width: 8px;
34+
height: 8px;
35+
opacity: 0;
36+
}
37+
5% {
2438
top: 36px;
2539
left: 36px;
2640
width: 8px;

src/ripple/index.styl

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@ borderSize = 4px
33

44
@keyframes lds-ripple
55
0%
6+
top: prec-round(size * .5 - borderSize)
7+
left: prec-round(size * .5 - borderSize)
8+
width: borderSize * 2
9+
height: borderSize * 2
10+
opacity: 0
11+
4.9%
12+
top: prec-round(size * .5 - borderSize)
13+
left: prec-round(size * .5 - borderSize)
14+
width: borderSize * 2
15+
height: borderSize * 2
16+
opacity: 0
17+
5%
618
top: prec-round(size * .5 - borderSize)
719
left: prec-round(size * .5 - borderSize)
820
width: borderSize * 2

web/static/assets/lib/@loadingio/css-spinner/dev/entries/ripple/index.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,20 @@
2020
}
2121
@keyframes lds-ripple {
2222
0% {
23+
top: 36px;
24+
left: 36px;
25+
width: 8px;
26+
height: 8px;
27+
opacity: 0;
28+
}
29+
4.9% {
30+
top: 36px;
31+
left: 36px;
32+
width: 8px;
33+
height: 8px;
34+
opacity: 0;
35+
}
36+
5% {
2337
top: 36px;
2438
left: 36px;
2539
width: 8px;

web/static/assets/lib/@loadingio/css-spinner/dev/entries/ripple/index.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

web/static/assets/lib/@loadingio/css-spinner/dev/index.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,20 @@
470470
}
471471
@keyframes lds-ripple {
472472
0% {
473+
top: 36px;
474+
left: 36px;
475+
width: 8px;
476+
height: 8px;
477+
opacity: 0;
478+
}
479+
4.9% {
480+
top: 36px;
481+
left: 36px;
482+
width: 8px;
483+
height: 8px;
484+
opacity: 0;
485+
}
486+
5% {
473487
top: 36px;
474488
left: 36px;
475489
width: 8px;

0 commit comments

Comments
 (0)