We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cec6fbd commit 13661c4Copy full SHA for 13661c4
Libraries/Text/TextInput/RCTBaseTextInputView.m
@@ -113,7 +113,7 @@ - (BOOL)textOf:(NSAttributedString*)newText equals:(NSAttributedString*)oldText{
113
inRange:NSMakeRange(0, oldText.length)
114
options:kNilOptions
115
usingBlock:^(id _Nullable value, NSRange range, BOOL * _Nonnull stop) {
116
- if (value && [@"\uFFFC" isEqualToString:[oldText attributedSubstringFromRange:range].string]) {
+ if ([value respondsToSelector:NSSelectorFromString(@"typingAttributesBeforeInsertion")]) {
117
isDictationRunning = true;
118
*stop = true;
119
}
0 commit comments