adobe / adobe/react-spectrum

Adding a Toast at the same time another one disappears does not add the second toast

Open
#9,930 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
15.9k
Forks
1.6k
Avg merge
3d 9m
Merged PRs (30d)
59

Description

### Provide a general summary of the issue here

Adding a Toast at the same time another one disappears does not add the second toast

### 🤔 Expected Behavior?

The first Toast should disappear while the second one should appear at the same time

### 😯 Current Behavior

The first Toast disappears, but the second one does not appear

### 💁 Possible Solution

_No response_

### 🔦 Context

_No response_

### 🖥️ Steps to Reproduce

1. Go to the [first Toast example in the documentation](https://react-aria.adobe.com/Toast)
2. Set 1000 in the "timeout" field
3. Click on the button "Show Toast", then re-click on it exactly just after the first one starts to disappear (around 1200ms after the first click)
4. The second click does nothing

### Version

latest (the one in the web doc)

### What browsers are you seeing the problem on?

Chrome

### If other, please specify.

_No response_

### What operating system are you using?

Window 11

### 🧢 Your Company/Team

_No response_

### 🕷 Tracking Issue

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.