diff --git a/ios/RNMBX/RNMBXImages.swift b/ios/RNMBX/RNMBXImages.swift index 797cf3e37..cc6cc411b 100644 --- a/ios/RNMBX/RNMBXImages.swift +++ b/ios/RNMBX/RNMBXImages.swift @@ -66,7 +66,12 @@ open class RNMBXImages : UIView, RNMBXMapComponent { } super.removeReactSubview(subview) } - + + // Ignore hit-tests so this view doesn't consume gestures. + open override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? { + return nil + } + // MARK: - RNMBXMapComponent // Uses default implementation from RNMBXMapComponentProtocol extension (returns false)