I have encountered a strange problem with the AdminLTE admin panel template that I am using in my Angular 11 application. Everything is loading fine with the menu items, but when I click on an item, instead of expanding the group, the page refreshes.
Here is a visual representation of the issue:
https://i.sstatic.net/qOToM.png
For example, when I click on "Data Reconciliation," it reloads the page initially. However, if I click it again, then it expands the group as expected.
Below is the HTML markup for the navigation:
<nav class="mt-2">
<ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false"gt;
<!-- Add icons to the links using the .nav-icon class
with font-awesome or any other icon font library -->
<!-- More nested list elements here -->
</ul>
</nav>
What could be causing this issue? Could it be related to Angular?