feat: Detached pages and fix navigation actions

This commit is contained in:
Aleksi Lassila
2024-03-31 12:43:48 +03:00
parent 5b18c95766
commit b5b96bf3e5
14 changed files with 143 additions and 66 deletions

View File

@@ -0,0 +1,18 @@
<script>
import Container from '../../../Container.svelte';
</script>
<Container
navigationActions={{
left: () => {
console.log('Not called?');
history.back();
return false;
}
}}
focusOnMount
trapFocus
class="fixed inset-0"
>
<slot />
</Container>