I’ve made a template where a popup should show when I click a button - it works if I preview the template, but when I use the template in the template element, the popup is not working. I’ve made a small video describing the problem and showing the issue.
On the page where I have the element:Template, I use ACF flexible content aswell, But it works if I add the template as a section and not through the element (template)
With the help from @KeviinCosmos I got it working. I had to place a template element with the popup in the same container as the condition for ACF FC and then it worked. I’ve never had to use the template element to show a popup before though. but it works and the client is happy