Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
This is the doc for menubutton
menubutton
The event fires when the user presses the menu button. Applying an event handler overrides the default menu button behavior.
Quick Exampledocument.addEventListener("menubutton", onMenuKeyDown, false);
function onMenuKeyDown() {
// Handle the back button
}
But menubutton event was broken on android. (See CB-9949)
When fixed, a change was introduced, to make the menubutton work, now it's required to add this line:
navigator.app.overrideButton("menubutton", true);
But that is not documented anywhere.
I think it should be added as an android quirk as it is supported by blackberry too and I don't think this is needed on blackberry devices.
Attachments
Issue Links
- is related to
-
CB-9949 Menu button event not fired in Android
- Closed