From ac5f42992fa2a8a148e245087e5e99d44cdc2fc7 Mon Sep 17 00:00:00 2001 From: Dominic Go <18517029+dominicstop@users.noreply.github.com> Date: Mon, 13 Jun 2022 06:33:29 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Added=20Comments?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ios/src/ReactNative/RNIContextMenuView/RNIContextMenuView.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ios/src/ReactNative/RNIContextMenuView/RNIContextMenuView.swift b/ios/src/ReactNative/RNIContextMenuView/RNIContextMenuView.swift index f0cbe58..b02f310 100644 --- a/ios/src/ReactNative/RNIContextMenuView/RNIContextMenuView.swift +++ b/ios/src/ReactNative/RNIContextMenuView/RNIContextMenuView.swift @@ -761,6 +761,8 @@ extension RNIContextMenuView: UIContextMenuInteractionDelegate { self.onMenuWillCreate?([:]); + // Note: Xcode beta + running on device (iPhone XR + iOS 15.1) causes + // crashes when the context menu is being created return UIContextMenuConfiguration( identifier : nil, previewProvider: self.createMenuPreview,