Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85711765
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/src/composables/useVirtualScrolling.js b/src/composables/useVirtualScrolling.js
index 886edf853b..1b8362194d 100644
--- a/src/composables/useVirtualScrolling.js
+++ b/src/composables/useVirtualScrolling.js
@@ -204,11 +204,11 @@ export function useVirtualScrolling({
async (newVal, oldVal) => {
if (!toValue(scrollCompensation)) return
if (newVal.length === 0 && oldVal.length === 0) return
- const expansion = oldVal.length === 0 && newVal.length !== 0
- const collapse = oldVal.length !== 0 && newVal.length === 0
+ const explosion = oldVal.length === 0 && newVal.length !== 0
+ const implosion = oldVal.length !== 0 && newVal.length === 0
const diff = (() => {
- if (expansion) {
+ if (explosion) {
if (toValue(collapseMode) === 'height') {
const newBottomElement = last(newVal)
@@ -216,7 +216,7 @@ export function useVirtualScrolling({
} else {
return 0
}
- } else if (collapse) {
+ } else if (implosion) {
const oldBottomElement = last(oldVal)
return 0 - oldBottomElement.top - oldBottomElement.height
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Sep 19, 7:21 AM (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1769102
Default Alt Text
(1 KB)
Attached To
Mode
rPUFE pleroma-fe-upstream
Attached
Detach File
Event Timeline
Log In to Comment