XF 2.2 Modal popup sometimes not working with Cloudflare

mash33

Member
The modal popups on the Login and Register links, for example, occasionally don't work, and the user is taken to the login and register pages. The same goes for the Notification dropdowns.

We've determined that the modals work mostly when you visit a page for the first time. However, after navigating away from the page and then following a link back to the initial page, the models mostly stop working. A hard refresh fixes the issue, so it seems somewhat related to caching.

We use Cloudflare and have set caching to cache only static JS (/js/*) and CSS files.

Has anybody experienced this and found a solution? If a cached page is revisited, it looks like JavaScript is not attaching the listener correctly to the DOM.
 
Back
Top Bottom