What is the event for Context menu onPress?
Closed this issue · 6 comments
MiteshKalal7 commented
ContextMenu onPress event only fires when we pressed on actions... how can i get an event when the user press on that opened ContextMenu?
mpiannucci commented
IM not sure what you mean by this, can you illustrate?
MiteshKalal7 commented
mpiannucci commented
Sorry circling back to this now... By press event do you mean inside of the preview?
MiteshKalal7 commented
Of course inside of the preview, i want to open full screen when user click on anywhere in context… how can I get that event?
mpiannucci commented
Gotcha... not currently exposed but I will add it tomorrow
For myself, implement https://developer.apple.com/documentation/uikit/uicontextmenuinteractiondelegate/3375807-contextmenuinteraction
mpiannucci commented
This is now supported in version 1.12.0. Use the onPreviewPress
prop to get a callback when the user taps the preview on iOS