react-native-ios-context-menu
react-native-ios-context-menu copied to clipboard
Feature Request: implement `UIContextMenuConfiguration.ElementOrder.priority`
Apple docs: https://developer.apple.com/documentation/uikit/uicontextmenuconfiguration/elementorder/priority
We should add an elementOrderPriority: 'automatic' | 'fixed' to the menu. Currently, only automatic is supported.
As a result, the menu item order changes based on where the menu is opened from. If, instead, we supported fixed, then we would be able to control which menu items always show at the top of the menu.
@dominicstop let me know if there's anything I can do to help. I think this is the file: https://github.com/dominicstop/react-native-ios-context-menu/blob/ac8f878d90717d6d12e875edc7ea6e5e9a852fa3/ios/RNIContextMenuView/RNIContextMenuViewContent%2BUIContextMenuInteractionDelegate.swift#L19