I have tested on a mobile app, trying to click outside of the modal dialog box
(actually a modal Callout, but it the same)
And I didn't notice anything wrong (ie couldn't click outside)
I am compiling with SDK 4.10 and AIR 3.8.
There must be something wrong in your app.
Can you try to change modalTransparencyColor and modalTransparency to
see if the modal mask covers all the screen ?
Eg.
global {
/* debug popup mask */
modalTransparencyColor: red;
modalTransparency: 0.3;
}
Maurice
-----Message d'origine-----
De : Alexander [mailto:[email protected]]
Envoyé : mercredi 16 octobre 2013 14:33
À : [email protected]
Objet : [FLEX-28934] Modal windows aren't modal on Mobile devices
Did anybody experience the problem where modal windows aren't modal on mobile
devices?
In other words you can click on buttons covered by the modal mask.
(Mostly it requires two or three clicks)
https://issues.apache.org/jira/browse/FLEX-28934
I tried to add modify the PopUpManagerImpl by adding more mouse event
(MOUSE_UP, MOUSE_DOWN, CLICK, DOUBLE_CLICK) and touch event listeners
(TOUCH_TAB, TOUCH_BEGIN) to it, to stop immediate event propagation and prevent
default. The event listeners get called but components behind the modal mask
can still be clicked.
Does anybody know a workaround?
Thanks in advance
Alexander