Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Limit the number of visible toasts. #39

Closed
jankaifer opened this issue Nov 14, 2020 · 1 comment · Fixed by #43
Closed

Limit the number of visible toasts. #39

jankaifer opened this issue Nov 14, 2020 · 1 comment · Fixed by #43

Comments

@jankaifer
Copy link

jankaifer commented Nov 14, 2020

Hi, sometimes there is too much going on, and the user can be overwhelmed by too many toast notifications.
It proved to be useful to limit the max number of displayed notifications to a fixed number (like 3 on mobile).
When there were more toasts than allowed, other toasts could wait until the first ones are closed, or they could force close them.

Anyway love this project <3

@jeanverster
Copy link
Owner

Hi @jankaifer will have a look at implementing this 👍

jeanverster pushed a commit that referenced this issue Nov 24, 2020
fix: fix android crash when using inside scrollview - #34

fix: reference icon family correctly so as to allow custom close icon - #36

feat: allow custom styling of toast and closebutton - #40
github-actions bot pushed a commit that referenced this issue Nov 24, 2020
# [1.1.0](v1.0.25...v1.1.0) (2020-11-24)

### Features

* add `maxToasts` prop to limit number of toasts on screen - [#39](#39) ([2fc84c0](2fc84c0)), closes [#34](#34) [#36](#36) [#40](#40)
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants