I have developed a webextension which has an “input” in the layout. When i right click anywhere on the popup.html including the “input” filed, the context menu is not appearing.
Looks like its disabled by default. Is there a way to enable it?
You will have to create your own. In one of my (unpublished) WebExtensions I do that.
In all my tests, this implementation works very well and is quite close to a native menu. It supports default values, keyboard input, nested menus, avoids overflowing and can display checkboxes and icons: