You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An ion-back-button will not show in a SvelteKit project - if it does not have an explicit default-href or initialize does not have explicit default path.
Example:
<script lang="ts">
import { close } from 'ionicons/icons';
</script>
<ion-header>
<ion-toolbar>
<ion-back-button text="Volver" icon={close} on:click={console.log} />
</ion-toolbar>
</ion-header>
ionic-team/ionic-framework#26550
An ion-back-button will not show in a SvelteKit project - if it does not have an explicit
default-href
orinitialize
does not have explicit default path.Example:
Will not show the back-button.
This will work:
<ion-back-button default-href="/"></ion-back-button>
But is boilerplate also given earlier issue - ionic-team/ionic-framework#19305
So when I add
{ backButtonDefaultHref: '' }
toinitialize()
taken from@ionic/core
, it does showThe text was updated successfully, but these errors were encountered: