When specifying a handler on a React DOM component via its props, the handler is actually executed on the document, not on the actual element itself. Since the ContentDialog eats all input events, the input event never makes it to the document and therefore no input events can be handled.
When specifying a handler on a React DOM component via its props, the handler is actually executed on the document, not on the actual element itself. Since the ContentDialog eats all input events, the input event never makes it to the document and therefore no input events can be handled.