I am using swup.js for page transition and changing content via AJAX. Unfortunately Gravity forms does not seem to be handling the AJAX request well and my form is not working after transitioning.
I am using the following to reinitialize my scripts on page load:
document.addEventListener('swup:pageView', (event) => {
// code
})
Is there any function I could reinitialize in javascript so Gravity forms would reinitialize on each page transition? Could not find anything in the documentation.