title: Eventlistener is not attached properly. React-Number-Format
body: <p>I tried wrapping NumberFormat of react-number-format and attaching a keydown eventlistener using: <a href="https://www.pluralsight.com/guides/event-listeners-in-react-components" rel="nofollow noreferrer">Link</a>.
  However it seems that the eventlistener is inconsistenly attached.
  After a refresh on the page containing the component the eventlistener is attached, but when refreshing elsewhere and then navigating to the page, the listener is not attached until I change the value. I tried all the build-in key eventhandlers of NumberFormat. It seems to be solved if I don´t use customInput, but I don´t know why. Any idea?</p>