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
I am trying to show/hide something based on amount of toasts in a certain container
I am using toast.onChange to get a number of items inside the container. But event fires for every container.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React. Paste the link to your CodeSandbox (https://codesandbox.io/s/new) example below:
N/A
What is the expected behavior?
It would be great to have a container id for ACTION.ON_CHANGE event.
Or allow each container to have it own onChange callback
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
16.9
The text was updated successfully, but these errors were encountered:
Do you want to request a feature or report a bug?
Feature
What is the current behavior?
I am trying to show/hide something based on amount of toasts in a certain container
I am using
toast.onChange
to get a number of items inside the container. But event fires for every container.If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React. Paste the link to your CodeSandbox (https://codesandbox.io/s/new) example below:
N/A
What is the expected behavior?
It would be great to have a container id for
ACTION.ON_CHANGE
event.Or allow each container to have it own onChange callback
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
16.9
The text was updated successfully, but these errors were encountered: