mirror of
https://github.com/immich-app/immich.git
synced 2025-11-23 23:00:42 +09:00
chore(web): passive events (#19179)
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
|
||||
onMount(() => {
|
||||
if (browser) {
|
||||
document.addEventListener('scroll', onScroll);
|
||||
document.addEventListener('scroll', onScroll, { passive: true });
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user