Support Article
Pop up opens beneath the side navigation menu in an iPad
SA-59770
Summary
User has a link on the left side navigation panel which opens a flow action displaying the operator's profile in a pop up. In an iPad, on accessing the use case through the custom mobile application or Pega Mobile Express application, the flow action opens up beneath the main harness.
Error Messages
Not Applicable.
Steps to Reproduce
- Log in to the application
- Add a link to the Navigation menu of the portal
- Open a flow action on click in an iPad
Root Cause
Mobile devices, especially iOS devices and WebViews does not support iFrames.
In custom application, the custom portal's section has a Dynamic Container configured with multi-doc. This results in generating iFrames in the UI.
Resolution
Perform the following local-change:
Configure the Dynamic Container to the single-doc mode.
Alternatively, add the below script in UserWorkForm and configure the Run Script action with toggleSidePanel as the 'function name' (on the link):
<script>
function toggleSidePanel(){
try{
setTimeout(function(){
pega.ui.appview.toggle()
}, 0);
}catch(e){}
}
</script>
Published October 13, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.