FIX: Cleanup the menu when the view is navigating away

This commit is contained in:
Marcos Rodriguez Velez 2023-03-24 22:09:53 -04:00
parent d02929f377
commit 65e9a7087f

View file

@ -64,6 +64,7 @@ const ToolTipMenu = (props, ref) => {
) : (
<ContextMenuView
ref={ref}
internalCleanupMode="viewController"
onPressMenuItem={({ nativeEvent }) => {
props.onPressMenuItem(nativeEvent.actionKey);
}}