From d6d8c66ac80a8dc7b30e24e5f44686f02b3c5c3a Mon Sep 17 00:00:00 2001 From: dhernando Date: Fri, 22 Dec 2023 16:13:10 +0100 Subject: [PATCH] fix tabindex being required --- src/lib/Cropper.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Cropper.svelte b/src/lib/Cropper.svelte index db554df..dfabde7 100644 --- a/src/lib/Cropper.svelte +++ b/src/lib/Cropper.svelte @@ -16,7 +16,7 @@ export let zoomSpeed = 1 export let crossOrigin: HTMLImgAttributes['crossorigin'] = null export let restrictPosition = true - export let tabindex: number | undefined + export let tabindex: number | undefined = undefined let cropperSize: Size | null = null let imageSize: ImageSize = { width: 0, height: 0, naturalWidth: 0, naturalHeight: 0 }