Skip to content

Commit ec244f2

Browse files
authored
Merge pull request #16 from idomed-tech/BOU/QF/crashWithEmpty
2 parents 274012b + 87d460e commit ec244f2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ios/RCTBaseTextInputView+MediaInput.m

+2-3
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ - (void)paste:(id)sender
9696
});
9797
} else {
9898
// Call the normal paste action
99-
[super paste:sender];
99+
[[self backedTextInputView] paste:sender];
100100
}
101101
}
102102

@@ -106,7 +106,6 @@ - (BOOL)canPerformAction:(SEL)action withSender:(id)sender
106106
return (BOOL)self.onImageChange;
107107
}
108108

109-
return [super canPerformAction:action withSender:sender];
109+
return NO;
110110
}
111-
112111
@end

0 commit comments

Comments
 (0)