We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b82f3ab + 6e62a01 commit 59466a0Copy full SHA for 59466a0
src/renderers/dom/shared/ReactDOMComponent.js
@@ -422,6 +422,10 @@ function trapBubbledEventsLocal() {
422
}
423
424
425
+function mountReadyInputWrapper() {
426
+ ReactDOMInput.mountReadyWrapper(this);
427
+}
428
+
429
function postUpdateSelectWrapper() {
430
ReactDOMSelect.postUpdateWrapper(this);
431
@@ -607,7 +611,10 @@ ReactDOMComponent.Mixin = {
607
611
608
612
switch (this._tag) {
609
613
case 'input':
610
- ReactDOMInput.mountReadyWrapper(this);
614
+ transaction.getReactMountReady().enqueue(
615
+ mountReadyInputWrapper,
616
+ this
617
+ );
618
// falls through
619
case 'button':
620
case 'select':
0 commit comments