Skip to content

Commit fb4aae6

Browse files
committed
fix: make sure mock input doesn't emit
1 parent cb3691e commit fb4aae6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

ios/internals/EnrichedTextInputViewShadowNode.mm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
const int mockSize = 1000;
3535
mockTextInputView_ = [[EnrichedTextInputView alloc] initWithFrame:(CGRectMake(veryFarAway, veryFarAway, mockSize, mockSize))];
3636
const auto props = this->getProps();
37+
((EnrichedTextInputView *)mockTextInputView_)->blockEmitting = YES;
3738
[mockTextInputView_ updateProps:props oldProps:nullptr];
3839
}
3940

0 commit comments

Comments
 (0)