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
I am finding that none of the events above (or any of the did/will show/hide/cancel events) are being fired as the menu is opened and closed.
This is my first time touching Swift code but I was able to discern that where the ContextMenuView UIContextMenuInteractionDelegate (RNIContextMenuView+UIContextMenuInteractionDelegate+.swift) functions were called when that menu opened/closed (and respective event callbacks were called) this does not happen for the ContextMenuButton equivalent (RNIContextMenuButton+UIContextMenuInteractionDelegate.swift). I was unable to make this work.
The text was updated successfully, but these errors were encountered:
finallyblueskies
changed the title
onMenuWillShow et al are not fired for ContextMenuButton
Menu show/hide/cancel events are not fired for ContextMenuButton
Mar 18, 2024
The React ContextMenuButton component seems to be completely detached from the underlying menu state, the class state menuVisible value for example never reflects the real state of the menu.
I am finding that none of the events above (or any of the did/will show/hide/cancel events) are being fired as the menu is opened and closed.
This is my first time touching Swift code but I was able to discern that where the ContextMenuView UIContextMenuInteractionDelegate (
RNIContextMenuView+UIContextMenuInteractionDelegate+.swift
) functions were called when that menu opened/closed (and respective event callbacks were called) this does not happen for the ContextMenuButton equivalent (RNIContextMenuButton+UIContextMenuInteractionDelegate.swift
). I was unable to make this work.The text was updated successfully, but these errors were encountered: