Sencha Premium Member
Allowing browser context menu for certain widgets (keeping disabled on all others)
In our entrypoint, we call:
To disable the browser context menu across the board. We now have a request from a user to enable the browser context menu for text areas so they can take advantage of the built in browser spell-check functionality. What would we have to do to turn the default browser context menu back on for a specific Component but leave it off for the rest of the UI?
I would follow a different approach with this.
Try to listen for the Event.OnConextMenu event on the Document component. In the event check the target. If its not a textarea, you can prevent the default action, else allow it.
I have not tested this.