winjs / react-winjs

React wrapper around WinJS's controls
MIT License
206 stars 47 forks source link

Cannot handle input events in ContentDialog #22

Closed jseanxu closed 9 years ago

jseanxu commented 9 years ago

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.