You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ideally, I'll like to keep the default lookup iOS menu item, but when passing the custom menuItems the default iOS options are not available anymore.
I've also tried using the suppressMenuItems param, excluding all but the lookup item, and including my custom menuItems, but the custom menuItems still overrides the iOS menu.
Example, where I suppress all but lookup and add custom menu items:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm currently using the
menuItems
param to pass custom menu items:https://github.com/react-native-webview/react-native-webview/blob/master/docs/Reference.md#menuitems
Ideally, I'll like to keep the default
lookup
iOS menu item, but when passing the custommenuItems
the default iOS options are not available anymore.I've also tried using the
suppressMenuItems
param, excluding all but thelookup
item, and including my custom menuItems, but the custom menuItems still overrides the iOS menu.Example, where I suppress all but
lookup
and add custom menu items:Is this inability to blend menu item options an issue at the
UIMenuController
level, or could be implemented in thereact-native-webview
library?Or is there a way to pass a
lookup
method fromonCustomMenuSelection
to the default iOS call?Beta Was this translation helpful? Give feedback.
All reactions