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:
|
configurationForMenuAtLocation location: CGPoint |
Apple docs: https://developer.apple.com/documentation/uikit/uicontextmenuconfiguration/elementorder/priority
We should add an
elementOrderPriority: 'automatic' | 'fixed'to the menu. Currently, onlyautomaticis 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:
react-native-ios-context-menu/ios/RNIContextMenuView/RNIContextMenuViewContent+UIContextMenuInteractionDelegate.swift
Line 19 in ac8f878