Closed meabed closed 5 years ago
When component unmount, the escape key is still binded because the listeners are not the same.
ref: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener
@meabed thank you :)
When component unmount, the escape key is still binded because the listeners are not the same.
ref: https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener