简体   繁体   中英

Flex PopupManager Issue

I have been working with pop-up manager lately and have an inconsistency issue.

This is created at application level, and then various levels are added to the application requiring the pop-up to be brought to the front.

roughly 1 in 5 times the grayish haze will appear (which renders the application unusable) as with any pop-ups, but doesn't display my pop-up window.

This is done within the component that i am popping-up and the application is the component that the pop-up is created on.

PopUpManager.addPopUp(this,application,true);
PopUpManager.bringToFront(this);
PopUpManager.centerPopUp(this); 

Any clue how i can remove this inconsistency?

You're setting the model property of addPopUp to true. That means that the application should always 'gray out', becoming unusable until the pop up is closed.

If you want the application to be usable while the pop-up is displayed, set the modal property to false:

PopUpManager.addPopUp(this,application,false);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM