anpin / ContextMenuContainer

Native context menu for any Xamarin.Forms or MAUI view
MIT License
55 stars 5 forks source link

Avoid highlighting while tapping the control #14

Open poorneshv15 opened 2 weeks ago

poorneshv15 commented 2 weeks ago
Screenshot 2024-10-10 at 2 28 36 PM

We can see in the above image where on tapping the controls expands and get highlighted like a frame. Need a way to get rid of this. Also it requires a long press to enable context menu, can't this be achieved with just a tap ?

Device tried : iphone 14 Project .Net maui

anpin commented 2 weeks ago

I don’t think there is a way to get rid of highlighting. This is how native context menu works in any app. The gesture could be customized. You need to replace UIContextMenuInteraction in iOS renderer with the one you need. PR is welcome to do this for every platform via parameters! Message ID: @.***>