handles trackscroll for embedded version

This commit is contained in:
Sudev Kiyada 2025-07-29 09:37:54 +05:30
parent 2502b2f7cb
commit 770a7d1c22
Failed to extract signature
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,6 @@
import { setContext } from 'svelte';
import { dev } from '$app/environment';
import { Tween } from 'svelte/motion';
import { linear } from 'svelte/easing';
interface Props {
/** CSS class for scroller container */
@ -141,6 +140,7 @@
onReady,
onChange,
...restProps,
trackScroll: embedded ? false : restProps.trackScroll, // trackScroll disabled for embedded version
});
// if embedded prop is set,

View file

@ -56,7 +56,7 @@
<ScrollerVideo
src={Goldengate}
height="200svh"
trackScroll={false}
trackScroll={true}
showDebugInfo
embedded={true}
embeddedProps={{