Unexpected Behavior With Nested Pop-Ups

This forum allows users to post and respond to "How Do I Do ....." questions. The information contained in this forum has not been validated by K-Rise Systems and, as such, K-Rise Systems cannot guarantee the accuracy of the information.
Post Reply
JefferyD
Posts: 178
Joined: August 31st, 2021, 11:37 am
Contact:

Unexpected Behavior With Nested Pop-Ups

Unread post by JefferyD »

When accessing a widget in a modal window, opening another modal window in that widget messes with the widget HTML and seems to break pop-up user messages.

Example
Clicking on the "Add Comment" link opens a modal window inside of this modal window. When closing the inner modal window, the outer one suddenly becomes much longer.
image.png

Additionally, if the following steps are followed, then that extra space can be filled with what's supposed to be a pop-up user message.
  1. Trigger a SetTerminateActions to display a pop-up user message.
  2. Open an inner modal window.
  3. Trigger a SetTerminateActions again to display another pop-up user message. Instead of being a pop-up, it will be inserted into the page like the below image.
image.png
word count: 125

Tags:
SteveCap
Posts: 329
Joined: August 26th, 2021, 9:18 am
Contact:

Re: Unexpected Behavior With Nested Pop-Ups

Unread post by SteveCap »

Task #10733 has been created. This post will be updated when it has been completed.
word count: 15
shalomsims
Posts: 38
Joined: March 16th, 2022, 1:04 pm
Contact:

Re: Unexpected Behavior With Nested Pop-Ups

Unread post by shalomsims »

This is an addendum to Jeff's post. I experienced the same issues using the Hyperlink controls to open a widget.

With the Target property set to empty The widgets pop-up sometimes. Usually the page just reloads. I just keep clicking on them until they open and then they only stay open a few seconds before closing. I tried setting the Target property to "_blank" and this is what happens.

Selecting the Payments link opens another Collections window but opens the widget in the previous page. The widget in the previous page has some faded data showing in background. When I click out of the widget, the widget appears at the bottom of the screen beneath the footer. Then I close the widget and it returns back to the original Collections screen.
Screenshot 2023-03-20 123714.png
Screenshot 2023-03-20 123813.png
Screenshot 2023-03-20 123835.png
Screenshot 2023-03-20 123900.png
Clicking outside of the window or closing it with the 'x'
Clicking outside of the window or closing it with the 'x'
word count: 144
JefferyD
Posts: 178
Joined: August 31st, 2021, 11:37 am
Contact:

Re: Unexpected Behavior With Nested Pop-Ups

Unread post by JefferyD »

When using a hyperlink to open a window, EASYProcess implements that using JavaScript events instead of the "href" attribute. To prevent conflicts, try setting "NavigateUrl" to:

Code: Select all

javascript:void(0)
I'm not sure if that will fix all your issues, but it should at least reduce them.
word count: 49
CathyC
Posts: 472
Joined: November 16th, 2021, 11:15 am
Contact:

Re: Unexpected Behavior With Nested Pop-Ups

Unread post by CathyC »

I talked with Jeff and there are two additional related cases of this:

Case 1: Same as Above but Invisible

This is on Platform1
  • Make a label with a click event to open a modal window
  • open a modal window
  • close the modal window by clicking outside of it OR by clicking the X
image.png
if it is inspected and turned visible:
image.png
Case 2: Scroll Bars disappear

In EPDocs
  • load a page for the first time (https://epdocs.krisesystems.com/Page/Home)
  • click to open a modal window
  • close it by clicking outside of the window
  • the parent page is now active again, but the scrollbar has disappeared and there are things lower on the page we cant get to anymore
  • open the modal window again, close it again the same way
  • the scroll bar is back. it only happens on the first time
image.png
The scrollbar is gone now:
image.png
word count: 148
CathyC
Posts: 472
Joined: November 16th, 2021, 11:15 am
Contact:

Re: Unexpected Behavior With Nested Pop-Ups

Unread post by CathyC »

DT Task 10733 was closed to move to RT 1283.
The first issue was fixed in that task in a revision from mid April.

The 2nd issue where scroll bars go away is still happening. We experience it in EPDocs
word count: 40
Post Reply