Hi.
We built a website for a client and added modals to show additional information for people in the team. The interaction was made as follows:
- CMS Item contains a trigger and a modal on the same level (siblings)
- The trigger (Div) triggers the modal, it shows as a flexbox and then the content of the modal is displayed by changing its position and opacity
- The close button is inside the modal and when clicked, it reverts all elements to its initial state (only parent elements)
Everything seems to work fine on the first click, but when trying to open the modal for a second time on the same CMS item, only the first interaction is executed and the second one (opacity, does not work). Any ideas on how to fix this?
Here’s the read only link: https://preview.webflow.com/preview/hcv-network?utm_medium=preview_link&utm_source=designer&utm_content=hcv-network&preview=1444f0b568c1e086d3ba47fce1a2877c&pageId=618ac2efa9f97f4fc9fd10b2&workflow=preview