Skip to content

Commit

Permalink
Fixes ci failure
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongwuzw committed Mar 14, 2024
1 parent 91dd672 commit 44407d3
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,12 +168,9 @@ void TextInputEventEmitter::onKeyPress(

void TextInputEventEmitter::onScroll(
const TextInputMetrics& textInputMetrics) const {
dispatchEvent(
"scroll",
[textInputMetrics](jsi::Runtime& runtime) {
return textInputMetricsScrollPayload(runtime, textInputMetrics);
},
EventPriority::AsynchronousBatched);
dispatchEvent("scroll", [textInputMetrics](jsi::Runtime& runtime) {
return textInputMetricsScrollPayload(runtime, textInputMetrics);
});
}

void TextInputEventEmitter::dispatchTextInputEvent(
Expand Down

0 comments on commit 44407d3

Please sign in to comment.