Skip to content

Commit 5d2da5f

Browse files
committed
Update console-sheet.js
1 parent f148b6f commit 5d2da5f

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

live-view/extensions/mobile-console/console-sheet.js

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,23 @@ class ConsoleSheet {
105105

106106
duplicateBadge.classList.add('animating');
107107

108-
window.setTimeout(() => {
108+
if (isSafari) {
109+
110+
onNextFrame(() => {
111+
112+
duplicateBadge.classList.remove('animating');
113+
114+
});
109115

110-
duplicateBadge.classList.remove('animating');
116+
} else {
111117

112-
}, 0);
118+
window.setTimeout(() => {
119+
120+
duplicateBadge.classList.remove('animating');
121+
122+
}, 0);
123+
124+
}
113125

114126
} else {
115127

0 commit comments

Comments
 (0)