feat: Navigate event propagation, videoplayer navigation and ui, container selection debugger

This commit is contained in:
Aleksi Lassila
2024-04-13 19:43:06 +03:00
parent 2f0f048d89
commit 6a77385eb9
11 changed files with 250 additions and 67 deletions

View File

@@ -4,7 +4,11 @@
<Container
on:navigate={({ detail }) => {
if (detail.direction === 'left' && detail.options.willLeaveContainer) {
if (
detail.direction === 'left' &&
detail.options.willLeaveContainer &&
detail.selectable === detail.options.target
) {
history.back();
detail.preventNavigation();
}