UI Builder Modal - on close, the modal is getting added to the viewport

cmiller84
Tera Contributor

When closing a modal, it will sometimes get added to the bottom of the current viewport.

This is the modal opened.

Modal.jpg

 

This is the modal "stuck" at the bottom of the viewport after close.

ModalStuck.jpg

 

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.

1 ACCEPTED SOLUTION

Can you try using page script to close the modal rather than using the OOB events directly. Let me know if that helps.

View solution in original post

7 REPLIES 7

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.

Can you try using page script to close the modal rather than using the OOB events directly. Let me know if that helps.

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.