I am encountering an issue with the use of ui-router
in combination with bootstrap collapse.
<div class="panel panel-default" id="accordion" >
<div role="tab" id="headingOne">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="false" aria-controls="collapseOne">
Click me
</a>
</div>
<div id="collapseOne" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne">
Data
</div>
</div>
This specific scenario is happening on the page localhost/#/root/mypage/
. When I click on 'Click me', it directs me to localhost:\#collapseOne
, which ultimately leads me back to the default page of my site.