Modal popup: how to wait for popup to be dismissed

m4trix.dev
36 Posts
m4trix.dev posted this 11 January 2022
Ask a Question

I have a modal popup and a button in it. When I click the button there is a bit of javascript running and after 2-3 seconds I get directed to another page. My problem is that after the click the popup get closed and there is nothing that is it telling the user that something is going on. Is there a way to delay the closure of the popup until the other page is loaded? Alternatively is there an easy way to add a loader or a spinner when the popup get closed?
Thanks

I have a modal popup and a button in it. When I click the button there is a bit of javascript running and after 2-3 seconds I get directed to another page. My problem is that after the click the popup get closed and there is nothing that is it telling the user that something is going on. Is there a way to delay the closure of the popup until the other page is loaded? Alternatively is there an easy way to add a loader or a spinner when the popup get closed? Thanks
Vote to pay developers attention to this features or issue.
3 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 11 January 2022

Hi Matteo,

Unfortunately there is no possibility to set a delay for the closing of the window. You can try to add some code that will add a loader on this action.

...................................................
Sincerely,
Hella
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Matteo, Unfortunately there is no possibility to set a delay for the closing of the window. You can try to add some code that will add a loader on this action. ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
m4trix.dev
36 Posts
m4trix.dev posted this 11 January 2022

Hello. Can you provide some guidance on how to add a loader? I am fine if the Popup closes and then a loader appear

Hello. Can you provide some guidance on how to add a loader? I am fine if the Popup closes and then a loader appear
Support Team
Support Team posted this 13 January 2022

Hello Matteo,

Adding any additional code to the button in the modal popup is not possible within desktop application editor. We do not provide or endorse such solutions.
You can try to adjust the code after project export and search for ready-made solutions on the Internet.

Let us know if you have any other questions.
...................................................
Sincerely,
Anna T
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello Matteo, Adding any additional code to the button in the modal popup is not possible within desktop application editor. We do not provide or endorse such solutions. You can try to adjust the code after project export and search for ready-made solutions on the Internet. Let us know if you have any other questions. ................................................... Sincerely, Anna T Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments