Open GaddiSunshine opened 9 months ago
This patch fixed the issue for me, I apply it with patch-package. I have no need of the code in here but guessing it serves a purpose so I'm not creating a PR for it.
I just commented out all of the code that runs when the users presses on the preview. It still dismiss the preview and the animation works perfectly as if the user tapped the background.
Pressing the preview element causes auxiliary element to not animate away. It just waits for the context menu to close and then snaps away
https://github.com/dominicstop/react-native-ios-context-menu/assets/55955275/b07f84a8-5ba0-4ce3-b74b-b8d0aeb41835
Expected behaviour: The auxiliary element would animate away like it does when pressing outside the preview element.
Actual behaviour: The auxiliary element does not animate away when dismissing the context menu by pressing the preview element.
Platform:
Versions:
Minimal reproducible example: