Hopefully fix overflow not being updated properly once it overflows once
All checks were successful
ci / deploy (push) Successful in 2m8s

This commit is contained in:
2026-01-23 01:57:34 +01:00
parent 7d938f05e7
commit 8239a21c43

View File

@@ -21,7 +21,13 @@
},
2000,
)
$watch('metadata.title', () => isTitleOverflow = $refs.scrollTitle.offsetWidth < $refs.scrollTitle.scrollWidth)
$watch('metadata.title', (value, oldValue) => {
if (value != oldValue){
isTitleOverflow = false; // force a reset
return
}
isTitleOverflow = $refs.scrollTitle.offsetWidth < $refs.scrollTitle.scrollWidth
})
"
>
<div