From 30ba3aeea70adfc75a64eb647e5b5cce5d82d7ad Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 29 Oct 2022 10:17:53 -0500 Subject: [PATCH] fix(web) date group hover not trigger correctly (#892) --- web/src/lib/components/photos-page/asset-date-group.svelte | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/web/src/lib/components/photos-page/asset-date-group.svelte b/web/src/lib/components/photos-page/asset-date-group.svelte index f41cd7e30f..11176856e1 100644 --- a/web/src/lib/components/photos-page/asset-date-group.svelte +++ b/web/src/lib/components/photos-page/asset-date-group.svelte @@ -109,9 +109,13 @@ {#each assetsGroupByDate as assetsInDateGroup, groupIndex (assetsInDateGroup[0].id)} {@const dateGroupTitle = moment(assetsInDateGroup[0].createdAt).format('ddd, MMM DD YYYY')} +
(isMouseOverGroup = true)} + on:mouseenter={() => { + isMouseOverGroup = true; + assetMouseEventHandler(dateGroupTitle); + }} on:mouseleave={() => (isMouseOverGroup = false)} >