restore old virtual scrolling

This commit is contained in:
Henry Jameson 2026-09-08 18:01:55 +03:00
commit f1fea71339
3 changed files with 75 additions and 22 deletions

View file

@ -263,7 +263,7 @@ export default {
const body = useTemplateRef('body')
const virtualHeight = ref(120)
const hiddenStyle = computed(() => ({
height: this.virtualHeight + 'px',
height: virtualHeight.value + 'px',
}))
const updateVirtualHeight = () => {
if (hide) return // no updates when not rendering