Scroll not working in Svelte JS

Can anyone confirm what i need to change to make scroll work in JS project? Scroll works in rive animate but not in JS project. .riv file attached.

Example code from Svelte 5:

scrolltext1.riv
<script lang="ts">
import { onMount } from 'svelte';
import { browser } from '$app/environment';

let canvasElement: HTMLCanvasElement;
let riveInstance: any = null;

onMount(() => {
  if (!browser) return;
  
  const initRive = async () => {
    const { Rive, Layout, Fit } = await import('@rive-app/webgl2');
    
    riveInstance = new Rive({
      src: '/rive_files/scrolltext1.riv',
      canvas: canvasElement,
      autoplay: true,
      layout: new Layout({
        fit: Fit.Layout,
      }),
      onLoad: () => {
        riveInstance.resizeDrawingSurfaceToCanvas();
      },
    });
  };
  
  initRive();
  
  return () => {
    if (riveInstance) {
      riveInstance.cleanup();
    }
  };
});
</script>

<canvas bind:this={canvasElement} class="w-full h-[500px]"></canvas>