Open cbjs opened 7 months ago
@cbjs This issue is only reproducible in iOS. Here is a workaround to it:
Just wrap your FastImage
component inside any View
.
@cbjs This issue is only reproducible in iOS. Here is a workaround to it:
Just wrap your
FastImage
component inside anyView
.
Not working for me
For me, this issue happened when I used a FastImage
component as the direct child of the TouchableWithoutFeedback
component. It can be fixed by either:
FastImage
component in a View
(as suggested by @ShivamKJJW)TouchableWithoutFeedback
, using TouchableOpacity
with the activeOpacity
being 1.0.
Exception thrown while executing UI block: -[FFFastImageView setOnClick:]: unrecognized selector sent to instance 0x1355be2c0
44-[RCTUIManager flushUIBlocksWithCompletion:]_block_invoke RCTUIManager.m:1205 44-[RCTUIManager flushUIBlocksWithCompletion:]_block_invoke.207 __RCTExecuteOnMainQueue_block_invoke _dispatch_call_block_and_release _dispatch_client_callout _dispatch_main_queue_drain _dispatch_main_queue_callback_4CF CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE __CFRunLoopRun CFRunLoopRunSpecific GSEventRunModal -[UIApplication _run] UIApplicationMain main start_sim 0x0 0x0