Disable navbar close on click

Hello everyone,

Wondering if anybody knows how to work with tabs when placed inside of a nav bar.

The trouble I’m having is that on click the modal nav closes, which means it’s not possible to switch to different tabs. Is there a line of script that I can include to disable this native webflow feature?

Any help much appreciated :slight_smile:

Here is my site Read-Only: https://preview.webflow.com/preview/aifs-staging?utm_medium=preview_link&utm_source=designer&utm_content=aifs-staging&preview=649826d307695d7e932e1f3fbb0f9d96&mode=preview
(how to share your site Read-Only link)

Hello @kanebaker,

you need to delete your navmodal container and replace it with a different element. The reason is because you used a pre-built navbar from webflow, and the way the interaction works is that any link inside the menu container (in your case navmodal) will automatically close the menu. since your content is on a symbol just place it on a different container and show and hide it with an interaction. I hope this helps.

1 Like

Thanks Pablo,

I was hoping for a work around but yes this will definitely resolve the issue (It’ll just take a little bit of time).

1 Like