Skip to content

Commit

Permalink
fix: grid scroll height not being reset when switcing story
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Nov 11, 2022
1 parent ef51ccc commit 875cf7d
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -82,6 +82,7 @@ function onItemResize (w: number, h: number) {
}
watch(() => storyStore.currentVariant, () => {
maxItemHeight.value = 0 // Reset max height
updateMaxCount()
})
Expand Down

0 comments on commit 875cf7d

Please sign in to comment.