Compare commits
No commits in common. "397d6cdabb8ec26241cf92e326ceba33f5701c3b" and "febc94c2bde7a04ec9315b8fd024ccbc9d4275b5" have entirely different histories.
397d6cdabb
...
febc94c2bd
3 changed files with 2 additions and 14 deletions
|
|
@ -153,9 +153,6 @@
|
||||||
:focused="focused === element.id || focused === element.item.retweeted_status?.id"
|
:focused="focused === element.id || focused === element.item.retweeted_status?.id"
|
||||||
|
|
||||||
:data-status-id="element.id"
|
:data-status-id="element.id"
|
||||||
:data-vs-height="element.height"
|
|
||||||
:data-vs-top="element.top"
|
|
||||||
|
|
||||||
@goto="setFocused"
|
@goto="setFocused"
|
||||||
@toggle-expanded="toggleExpanded"
|
@toggle-expanded="toggleExpanded"
|
||||||
@suspendable-state-change="changeSuspendStateLinearLocal"
|
@suspendable-state-change="changeSuspendStateLinearLocal"
|
||||||
|
|
|
||||||
|
|
@ -597,17 +597,12 @@ const Status = {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
|
||||||
if (this.$refs.root) {
|
|
||||||
this.resizeObserver.observe(this.$refs.root)
|
|
||||||
}
|
|
||||||
},
|
|
||||||
unmounted() {
|
unmounted() {
|
||||||
this.resizeObserver.disconnect()
|
this.resizeObserver.disconnect()
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
hideStatus: function (element) {
|
'$refs.root': function (element) {
|
||||||
if (this.$refs.root) {
|
if (element) {
|
||||||
this.resizeObserver.observe(this.$refs.root)
|
this.resizeObserver.observe(this.$refs.root)
|
||||||
} else {
|
} else {
|
||||||
this.resizeObserver.disconnect()
|
this.resizeObserver.disconnect()
|
||||||
|
|
|
||||||
|
|
@ -90,10 +90,6 @@
|
||||||
v-if="element.type === 'item'"
|
v-if="element.type === 'item'"
|
||||||
:status-id="element.item.id"
|
:status-id="element.item.id"
|
||||||
role="listitem"
|
role="listitem"
|
||||||
|
|
||||||
:data-vs-height="element.height"
|
|
||||||
:data-vs-top="element.top"
|
|
||||||
|
|
||||||
@suspendable-state-change="changeSuspendState"
|
@suspendable-state-change="changeSuspendState"
|
||||||
@height-change="updateVirtualHeight"
|
@height-change="updateVirtualHeight"
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue