In Bootstrap tab component, nav-link should be a button as suggested in the Bootstrap Docs:
As a best practice, we recommend using
<button>
elements for the tabs, as these are controls that trigger a dynamic change, rather than links that navigate to a new page or location.
This doesn’t work:
<a class="nav-link active" id="navTabs1_1_tab" data-bs-toggle="tab" href="#" data-bs-target="#navTabs1_1" role="tab" aria-controls="navTabs1_1" aria-selected="true">Home</a>
It should be like this:
<button class="nav-link active" id="navTabs1_1_tab" data-bs-toggle="tab" data-bs-target="#navTabs1_1" role="tab" aria-controls="navTabs1_1" aria-selected="true">Home</button>