Community forum for knowledge and support

Updated last year

Side drawer modal component - contact modal 4

At a glance

The community member is testing a side drawer modal component - contact modal 4. They are having an issue where if they use another button on the same page to open the modal, it does not work. However, when they use the button provided, it opens the modal fine. But if they move the button outside of the section-contact-modal-4 folder, it no longer works. The community member is wondering if the button or any button wanting to use the modal needs to be in the modal folder in order to function properly.

Hi, I am testing the side drawer modal component - contact modal 4
If I want to use another button on the same page to open the modal I set it to open on click via the animator, but nothing happens, I did a quick test, when I click the button you provide it opens fine, but if I move your button outside of the section-contact-modal-4 folder it no longer works. So it seems like the button or any button wanting to use the modal doesn't work unless it's in the modal folder?

Thanks

Add a reply
Sign up and join the conversation on Slack