Support Article

Smart Info Tooltip and Modal Windows don't work together

SA-28266

Summary



When a Smart Info tooltip is open on any field on the screen, if a user clicks on a button so that a Modal window pops up, the smart Info tooltip floats up on top of Modal Window. On the Modal Window, the "Back" button does not work when smart info tooltip is on in the background, but if the Smart Info tooltip is not opened in the background then the "Back" button on the Modal window works as expected.

Error Messages



Not Applicable


Steps to Reproduce

  1. Create a Section and configure an icon incorporating a Smart Info Tooltip.
  2. Check the "Close Automatically" pop-up in the Smart Info Tooltip configuration dialogue.
  3. Create a button on the same section to launch a Modal Window. 
  4. Click on the Tooltip icon
  5. Without closing the Pop-up, click on the button to generate the Modal Window.
  6. Observe that the tooltip comes above the Modal Window. 


Root Cause



The z-index of the Smart Info will be reduced whenever the Smart Info is at same level as the Modal Window launching element. If the Smart Info is at same level as that of Modal Window launching element, the code will be changed so that flow doesn't exit pega.ui.Doc.prototype.closeChildOverLay. If the Smart Info is launched from within the Modal Window, then the Cancel button action will close the Smart Info as well as Modal Window.

Resolution



Apply HFix-29264 for this concern.

 

Published September 21, 2016 - Updated September 29, 2016

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.