Hi All,
I have added a OffCanvas Bootstrap component in my dash app to handle my navigation on mobile - the code currently is straightforward and looks like this:
dbc.Col(
dbc.Offcanvas(
dbc.Nav(
[
dbc.NavItem(
dbc.NavLink("Testing",
href="/testing"
)
),
]
),
id="navbar-collapse",
is_open=False,
title="Navigation",
),id="dropdown"
),
Currently now when I click on the testing link it successfully navigates me to the /Testing page, however, the OffCanvas stays open - how can I go about when clicking on the NavLink it closes the Offcanvas?