To register an event handler for the capture phase, append Capture to the
event name; for example, instead of using onClick, you would use onClickCapture
to handle the click event in the capture phase.
Proposed Solution:
Add a -capture variant of every event handler to re-com.validate/html-attrs.
Version: 0.7.1-alpha1 Commit: d7915d1657eb72128c724e94d49d944c605caee6
Erroneous Behavior: Validation fails when attempting to register a capture phase event handler on any re-com component.
To reproduce:
Create a component with capture phase handler.
The console output:
From the React Documentation at https://facebook.github.io/react/docs/events.html#supported-events:
Proposed Solution:
Add a
-capture
variant of every event handler tore-com.validate/html-attrs
.