Skip to content

Commit

Permalink
toast: disable enter animation
Browse files Browse the repository at this point in the history
  • Loading branch information
pulsejet committed Feb 22, 2025
1 parent b115edf commit 6596c02
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils/toast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,9 @@ export class Toast {
theme: themeIsDark() ? 'dark' : 'light',
position: 'bottom-right',
transition: {
enter: 'fade-rtl-toast--enter',
// Disable the enter animation because it's buggy during updates.
// Each update will cause the toast to flicker.
enter: 'fade-rtl-toast--enter--disabled',
exit: 'fade-rtl-toast--leave',
},
} as {
Expand Down

0 comments on commit 6596c02

Please sign in to comment.