fkhadra / fkhadra/react-toastify

[Improvement] Add a `stackLimit` prop

Open
#1,175 2 comments 3 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
13.4k
Forks
741
PR merge metrics
No merged PRs in 30d

Description

There would be nice to have a way of controlling the max number of toasts displayed in the `stacked` layout to avoid issues like: #1171.

For example I would like to have at most 3 stacked toasts that when hovered maybe reveal the 100 total toasts to improve the ergonomics of the page. The users see there are "waiting" toasts, but maybe they don't want half of the screen always covered by toasts, only on hover.

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.