'react-redux-toastr closing alert when losing browser window focus
In a react project and using react-redux-toastr, the following code produces an alert that does not fade out when hovered over:
const options = {
timeOut: 0,
removeOnHoverTimeOut: 0,
showCloseButton: true,
position: 'top-center'
}
toastrInstance(
"Test",
"Test",
options
)
But the alert still gets closed when the focus of the browser window is lost. How can I suppress this behavior?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
