bestguy / sveltestrap

Bootstrap 4 & 5 components for Svelte

Home Page:https://sveltestrap.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`hidden` flag/attribute on Nav/NavItem

wutipong opened this issue · comments

I'm trying to hide a NavItem based on a condition. When I assign the flag either true or false, the control disappears. Only I assigned it to undefined the control shows up.

Is it an expected behavior that, if hidden={false}, the control disappears?

I haven't tried with other control yet, but looks like at least both Nav and NavItem behave the same way.