Skip to content

AutoClose on .update method doesn't work unless i point my cursor on it. #720

@theaafofficial

Description

@theaafofficial

Do you want to request a feature or report a bug?
I want to report a bug

What is the current behavior?
When using toast with update, autoClose doesn't work until i point the cursor on toast and then it starts closing. Otherwise it stays there.

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:
I've tried using option pauseonFocusLoss to false, but still doesn't work.

What is the expected behavior?
It should autoclose the toast after updating it.

Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
[email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions