fix: attempt to fix gestures breaking seekbar on android

This commit is contained in:
ThaUnknown 2025-09-02 21:15:53 +02:00
parent 2a594255a4
commit a0561ec0f7
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"name": "ui",
"version": "6.4.115",
"version": "6.4.116",
"license": "BUSL-1.1",
"private": true,
"packageManager": "pnpm@9.15.5",

View file

@ -138,7 +138,8 @@
}
</script>
<svelte:window on:blur={endHover} />
<!-- fix for android gestures not cancelling pointer when closing the app using gestures from the bottom which hovers the seekbar, insane. -->
<svelte:document on:visibilitychange={endHover} />
<div class='w-full flex cursor-pointer relative group/seekbar touch-none !transform-none' class:!cursor-grab={seeking}
tabindex='0' role='slider' aria-valuenow='0'