I am trying to add some buttons on the previewView for context menu. But on tapping the preview View, the content menu gets dismissed. How to disable the dismiss action and detect tap on the button inside preview view?
I tried setting UserInteractionEnabled
for the preview view, but that didn't help.
I need to add a button in the red area and it should be clickable.
Asked
Active
Viewed 282 times
0

abhimuralidharan
- 5,752
- 5
- 46
- 70
-
1Nobody even knows what a guy you so-call 'previewView' or 'preview View' is. – El Tomato Jul 19 '21 at 03:54
-
@ElTomato Added the image. PreviewView means the view that we give via previewProvider for contextMenu. – abhimuralidharan Jul 19 '21 at 04:09