mirror of
https://github.com/aleksilassila/reiverr.git
synced 2026-04-20 00:53:32 +02:00
feat: Navigate event propagation, videoplayer navigation and ui, container selection debugger
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user