Description
NWJS Version : 0.44.1
Operating System : win10
When using menu.popup(x, y) , if the menu is close to the bottom of the screen due to moving the browser window near the bottom of the screen, it will change direction and list the items above the mouseY position. If this happens and it goes under the mouse (if say the menu was suppose to be positioned at the bottom of a button), when you release the mouse button it will instantly click the menu causing it to select a menu item and close.
This is a problem because you can only specific one position for the popup, and not an alternative position if the menu is to change direction. It would be useful to allow a secondary position (example: the top of a button), that it would use when it changed direction. This way the user won't select an item accidentally and the menu will look appropriately positioned.
Activity