|
public componentWillRemove() { |
componentWillRemove -> componentWillUnmount
|
this.ref?.current.addEventListener("transitionend", this.handleTransitionEnd, false); |
handleTransitionEnd can never properly unmount and remove the toast notifcation when the dom event not fired.