You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Maurice Amsellem (JIRA)" <ji...@apache.org> on 2013/10/17 15:14:42 UTC

[jira] [Comment Edited] (FLEX-28934) Modal windows aren't modal on Mobile devices

    [ https://issues.apache.org/jira/browse/FLEX-28934?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13797870#comment-13797870 ] 

Maurice Amsellem edited comment on FLEX-28934 at 10/17/13 1:13 PM:
-------------------------------------------------------------------

Normally, you shouldn't have to do that, because popupMgr creates a modal window the size of the stage that eats all the mouse events.
so maybe it's not created, or not the right size.
Can you try revealing it by adding the following to your css:

{code}
global {
/* debug popup mask */
    modalTransparencyColor: red;
    modalTransparency: 0.3;
}
{code}


was (Author: mamsellem):
Normally, you shouldn't have to do that, because popupMgr creates a modal window the size of the stage that eats all the mouse events.
so maybe it's not created, or not the right size.
Can you try revealing adding the following to your css:


global {
/* debug popup mask */
    modalTransparencyColor: red;
    modalTransparency: 0.3;
}


> Modal windows aren't modal on Mobile devices
> --------------------------------------------
>
>                 Key: FLEX-28934
>                 URL: https://issues.apache.org/jira/browse/FLEX-28934
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: PopUp Manager
>    Affects Versions: Adobe Flex SDK 4.5.1 (Release)
>         Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Browser: Other (specify version)
> Language Found: English
>            Reporter: Adobe JIRA
>
> *NOTE* Even though I marked "ALL" it works fine on desktop in simulator, but fails on both Android and iOS
> Steps to reproduce:
> 1. Use PopUpManager to addPopup or createPopup
> 2. You now have the ability to click anything else on the screen.
> 3. Fail.
>  
>  Actual Results:
>  User is able to click anything in the background, disregarding modal status.
>  
>  Expected Results:
>  User should not be allowed to click anything that isn't a child of modal window.
>  
>  Workaround (if any):
>  None.
>  Extra Notes:
>  Using AIR 3.0
>  I've also set the modalTransparency values to that of the standard spark theme since the mobile theme to see if maybe drawing a background fixed things, but to no avail.
>  
>  In order to use my FXP example, you will need to supply a valid ID in the app descriptor (if deploying to iOS, this MUST match your provision file's ID).
>  To anyone that suggests I should be using SkinnablePopUpContainer::open() should realize that that method is extremely simple, and does nothing more than make a call to PopUpManager.addPopUp(this, owner, modal); Utilizing SPUC does not fix this issue!



--
This message was sent by Atlassian JIRA
(v6.1#6144)