Skip to content

Commit 1ace0ff

Browse files
committed
fix: change toast progress bar animation to forwards fill mode and rebuild assets
1 parent 6bde57b commit 1ace0ff

5 files changed

Lines changed: 6 additions & 4 deletions

File tree

css/v4.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
--z-index-50: 50;
6565
--z-auto: auto;
6666

67-
--animate-progress: progress 2s linear infinite;
67+
--animate-progress: progress 2s linear forwards;
6868
--animate-indeterminate: indeterminate 1.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
6969

7070
@keyframes progress {

dist/.vite/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
]
4747
},
4848
"js/tallstackui.js": {
49-
"file": "tallstackui-B02B2kg2.js",
49+
"file": "tallstackui-nQXDB2G0.js",
5050
"name": "tallstackui",
5151
"src": "js/tallstackui.js",
5252
"isEntry": true,
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/tallstackui.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.

src/Components/Toast/toast-loop.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ export default (toast) => ({
5555
});
5656

5757
document.addEventListener('visibilitychange', () => {
58+
if (document.hidden) return;
59+
5860
const remaining = max - elapsed;
5961

6062
if (remaining > 2000) {

0 commit comments

Comments
 (0)