You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Relevant code is in src/App.tsx - if you increase the waitInterval to one second then the toasts animate smoothly, but if we don't wait (waitInterval = 0) then they get stuck.
Steps to reproduce
create an <OverlayToaster>
send multiple toast messages to it in quick succession
Actual behavior
Animation seems to stop early and some toast messages flow over the top of the screen.
Expected behavior
All toast should finish animating correctly into the correct position.
Possible solution
This seems to be some timing issue: if we insert an arbitrary wait between sending toasts then they animate correctly.
The text was updated successfully, but these errors were encountered:
Environment
Code Sandbox
https://codesandbox.io/p/sandbox/jovial-galois-x8727d
Relevant code is in
src/App.tsx
- if you increase thewaitInterval
to one second then the toasts animate smoothly, but if we don't wait (waitInterval = 0
) then they get stuck.Steps to reproduce
<OverlayToaster>
Actual behavior
Animation seems to stop early and some toast messages flow over the top of the screen.
Expected behavior
All toast should finish animating correctly into the correct position.
Possible solution
This seems to be some timing issue: if we insert an arbitrary wait between sending toasts then they animate correctly.
The text was updated successfully, but these errors were encountered: