mirror of
https://github.com/aleksilassila/reiverr.git
synced 2026-04-22 00:35:12 +02:00
feat: Detached pages and fix navigation actions
This commit is contained in:
18
src/lib/components/DetatchedPage/DetatchedPage.svelte
Normal file
18
src/lib/components/DetatchedPage/DetatchedPage.svelte
Normal 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>
|
||||
Reference in New Issue
Block a user