Question
Barclays
IN
Last activity: 5 Jan 2018 9:35 EST
Disable clickaway checked on local action as overlay is not working
We have section designed have local action configured as overlay on button and only disable Clickaway is checked.
On screen when user clicks on button disable Clickaway is not working and User is still able to click away on parent screen.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
EPAM Systems, Inc.
ES
Hi Ganesha,
Thanks for posting on PSC.
I tried implementing your use-case in-house(Pega 7.3.1) and "Disable Clickaway" is working as expected. When Overlay is active on UI, clicking on parent screen isn't closing or having any action on UI.
For testing purpose,
- log in to [email protected]/install.
- Navigate to Designer Studio->User Interface->Gallery->UI Elements->OverLay-> View Design Time Configuration(Top right corner).
- Open Cell Properties of "Standard" button and configure "Disable Clickaway".
- Verify, if the issue is occurring with default behaviour or not?
If it's occurring with default credentials, raise an SR with GCS.
Also, try configuring "Center Overlay" option along with "Disable Clickaway" if it resolves the issue, as I have gone through one of the support article mentioning that this helps in resolving the issue.
Hope it helps in resolving the reported problem if it does kindly notify by marking this post as answered.
Regards,
Asif
Barclays
IN
Thank you Asif for your quick response.
I have followed steps and did changes in respective OOB section private edit post refresh screen I have checked and still issue is happening.
should I raise an SR ?
My Product detail: CS 7.1.4 on Pega 7.1.9
Barclays
IN
If I am configuring "Center Overlay" option along with "Disable Clickaway" it is working but this is what I am not expecting I want modal window attached to Button only
EPAM Systems, Inc.
ES
Also, this issue could be browser specific. Verify that as well and mention in the SR if raised.
Pegasystems Inc.
IN
Hi Ganesh,
When you say "On screen when user clicks on button disable Clickaway is not working" are you talking about the "Back to policy" button? What has been configured on the button?
Regards,
Evita.
Barclays
IN
Yep On Back to policy button location action configured as overlay check attached document for more detail
Pegasystems Inc.
IN
Hi Ganesh,
I tried the same and its working at my end.
1. When you try to click on Parent body, can you open debugger and check if there is any errors in console? If yes then can you tell us what is the error?
2. You can also debug yourself. Open "pzpega_ui_popover" js file -> search for "isDisabledClickaway" function or "_clickAwayProvider" function -> add a debugger and replicate the issue. Then you need to debug from here to check what is exactly happening,
Thank you
Barclays
IN
I am not getting any error in debugger
How to add debugger ?
Pegasystems Inc.
IN
open the file and you need to add "debugger;" keyword in the JS file. When you run the usecase and have the browser debbuger open, the process halts at the line in the JS file where the "debugger;" keyword is added.
You can check this link: https://www.w3schools.com/js/js_debugging.asp
Barclays
IN
"pzpega_ui_popove" is Final rule or do you want me to change it in F12 ?