react-native-enriched-markdown-scaffold 0.6.0-scaffold.5 → 0.6.0-scaffold.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -41,7 +41,8 @@
|
|
|
41
41
|
using namespace facebook::react;
|
|
42
42
|
|
|
43
43
|
#if !TARGET_OS_OSX
|
|
44
|
-
@interface EnrichedMarkdownTextInput () <RCTEnrichedMarkdownTextInputViewProtocol, UITextViewDelegate
|
|
44
|
+
@interface EnrichedMarkdownTextInput () <RCTEnrichedMarkdownTextInputViewProtocol, UITextViewDelegate,
|
|
45
|
+
UIGestureRecognizerDelegate>
|
|
45
46
|
#else
|
|
46
47
|
@interface EnrichedMarkdownTextInput () <RCTEnrichedMarkdownTextInputViewProtocol, RCTBackedTextInputDelegate>
|
|
47
48
|
#endif
|
|
@@ -222,6 +223,9 @@ using namespace facebook::react;
|
|
|
222
223
|
UITapGestureRecognizer *mathTap = [[UITapGestureRecognizer alloc] initWithTarget:self
|
|
223
224
|
action:@selector(handleTapForMathChip:)];
|
|
224
225
|
mathTap.cancelsTouchesInView = NO;
|
|
226
|
+
mathTap.delaysTouchesBegan = NO;
|
|
227
|
+
mathTap.delaysTouchesEnded = NO;
|
|
228
|
+
mathTap.delegate = self;
|
|
225
229
|
[_textView addGestureRecognizer:mathTap];
|
|
226
230
|
#endif
|
|
227
231
|
}
|
|
@@ -592,6 +596,14 @@ using namespace facebook::react;
|
|
|
592
596
|
[_textView mouseDown:event];
|
|
593
597
|
}
|
|
594
598
|
|
|
599
|
+
#else // iOS
|
|
600
|
+
|
|
601
|
+
- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer
|
|
602
|
+
shouldRecognizeSimultaneouslyWithGestureRecognizer:(UIGestureRecognizer *)otherGestureRecognizer
|
|
603
|
+
{
|
|
604
|
+
return YES;
|
|
605
|
+
}
|
|
606
|
+
|
|
595
607
|
#endif
|
|
596
608
|
|
|
597
609
|
#if !TARGET_OS_OSX
|
package/package.json
CHANGED