Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.7.0
-
None
-
Sony Xperi ION with Android 4.1
-
f59e5d7bbd17c79ca2f06d79897212a5fc9b6ee7
Description
Using a menu like in the Gallery example for quick controls 2, we can obtain a menu than can be closed by tapping outside his content area.
The point is that by default if you tap outside the menu but match a button or other component that receives touch events, this is triggered and not think it's always the option you want in that situation.
To fix that I combine the modal and dim properties (modal: true; dim: false), avoinding capturing click/touch events while the popup is closing, and removing the popup background that is not necessary for a menu.
The property dim work well in linux an android, but in windows the background is shown.
This is an example code, and I attach too