Ionic 4 ion-back-button defaultHref transition direction

Is it possible to specify for ion-back-button’s defaultHref to navigate using transition backwards?

Currently if you land on a url with no navigation history, the back button will take you to the defaultHref in a forward transition but in most cases, you want the transition to appear as if there was an existing navigation history by navigating backwards. Thus the user interface gets stuck in this odd forwards then backwards “glitch” if you continue to navigate back.

1 Like

Hi,

I’m just looking at back button functionality :woozy_face:

Your post came up when I was looking into deafultHref but I’m not running into the problem you describe. When I land on a page with no nav history it’s still transitioning backwards as desired.

Just wanted to see if the problem is resolved for you or if I can help in any way?

Cheers,