Ion back button not displaying without defaultHref


I am using ionic5 with angular. My problem is when i add defaultHref the icon is visible. But when it is removed it is not visible. Is it necessary to mention this in ion-back-button. If not then why I face this problem.


The Back Button is only visible when it is clickable. It is clickable when it has a default href or when you have a Navigation Stack which you can go back. Of course this is right, so please give me some more Details? In which case the button is hidden for you where you expect it?

I just want to know why it is hiding and thanks for the answer