
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2023 07:52 AM - edited 09-05-2023 08:43 AM
When closing a modal, it will sometimes get added to the bottom of the current viewport.
This is the modal opened.
This is the modal "stuck" at the bottom of the viewport after close.
Has anyone experienced this and know of a fix? I've confirmed this is actually happening with other modals. The buttons are just calling the Open/Close event handler and are not customized. Appreciate any help.
Solved! Go to Solution.
- Labels:
-
UI Builder : Next Experience
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2023 02:31 AM
Can you try using page script to close the modal rather than using the OOB events directly. Let me know if that helps.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 07:07 AM
This workaround seems to be working:
create a client script.
use helpers.modal.close("modal_name")
then call the script with event handler in the respective modal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2023 02:31 AM
Can you try using page script to close the modal rather than using the OOB events directly. Let me know if that helps.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-04-2023 07:06 AM
This appears to have worked. Didn't think to try a client script since you'd think they're both calling the same function to close the modal.
For those looking for a solution, create a client script. use helpers.modal.close("modal_name") , then call the script with event handler in the respective modal.