From 386dbd943cf3ee873ee5176e4c599f4ea213ec62 Mon Sep 17 00:00:00 2001 From: Samuel Susla Date: Wed, 9 Jun 2021 12:32:24 -0700 Subject: [PATCH] Use default priority for text input on change Summary: changelog: [internal] This was shipped by accident, synchronous access isn't supported yet. Reviewed By: JoshuaGross Differential Revision: D28997109 fbshipit-source-id: a668f5beba527024c49e48baeddb10eedbb8f186 --- .../textinput/iostextinput/TextInputEventEmitter.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ReactCommon/react/renderer/components/textinput/iostextinput/TextInputEventEmitter.cpp b/ReactCommon/react/renderer/components/textinput/iostextinput/TextInputEventEmitter.cpp index 8d4284771d2..6342a6c1ff2 100644 --- a/ReactCommon/react/renderer/components/textinput/iostextinput/TextInputEventEmitter.cpp +++ b/ReactCommon/react/renderer/components/textinput/iostextinput/TextInputEventEmitter.cpp @@ -72,8 +72,7 @@ void TextInputEventEmitter::onBlur( void TextInputEventEmitter::onChange( TextInputMetrics const &textInputMetrics) const { - dispatchTextInputEvent( - "change", textInputMetrics, EventPriority::SynchronousUnbatched); + dispatchTextInputEvent("change", textInputMetrics); } void TextInputEventEmitter::onChangeText(