I’m running into the following scenario on some devices: when the use clicks on field and expects an response, instead of properly responding to that click event, the device shows the context menu at the bottom center of the screen.
navigationUnclick and trackwheelUnclick
From what I’ve read, I can override navigationUnclick and trackwheelUnclick to prevent the menu from showing. I’m doing this as the screen level but reproducing the centered-menu scenario is difficult. Is this the correct approch?
Why does this happen? Is there any way to resolve this?
I recently had this happening. I was extending
MainScreento provide some basic functionality, but didn’t want the context menus. Returningtruefrom navigationClick()removed this behavior.I didn’t need to override
navigationUnclick()at all. Unlike @JustinD’s approach with overrideonMenu(), this only prevents the menu from this certain case — not across the entire screen (which you may want, and that would probably be a better way to do it).Anyway, that’s been my experience with clicks and menus recently.