fix(web): better touch device detection (#17144)
* fix(web): better touch device detection * variable name
This commit is contained in:
@@ -83,7 +83,7 @@
|
||||
let bottomSectionHeight = 60;
|
||||
let leadout = $state(false);
|
||||
|
||||
const usingMobileDevice = $derived(mobileDevice.hoverNone);
|
||||
const usingMobileDevice = $derived(mobileDevice.pointerCoarse);
|
||||
|
||||
const scrollTo = (top: number) => {
|
||||
element?.scrollTo({ top });
|
||||
|
||||
Reference in New Issue
Block a user