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"
|
||||
|
||||
:data-status-id="element.id"
|
||||
:data-vs-height="element.height"
|
||||
:data-vs-top="element.top"
|
||||
|
||||
@goto="setFocused"
|
||||
@toggle-expanded="toggleExpanded"
|
||||
@suspendable-state-change="changeSuspendStateLinearLocal"
|
||||
|
|
|
|||
|
|
@ -597,17 +597,12 @@ const Status = {
|
|||
})
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
if (this.$refs.root) {
|
||||
this.resizeObserver.observe(this.$refs.root)
|
||||
}
|
||||
},
|
||||
unmounted() {
|
||||
this.resizeObserver.disconnect()
|
||||
},
|
||||
watch: {
|
||||
hideStatus: function (element) {
|
||||
if (this.$refs.root) {
|
||||
'$refs.root': function (element) {
|
||||
if (element) {
|
||||
this.resizeObserver.observe(this.$refs.root)
|
||||
} else {
|
||||
this.resizeObserver.disconnect()
|
||||
|
|
|
|||
|
|
@ -90,10 +90,6 @@
|
|||
v-if="element.type === 'item'"
|
||||
:status-id="element.item.id"
|
||||
role="listitem"
|
||||
|
||||
:data-vs-height="element.height"
|
||||
:data-vs-top="element.top"
|
||||
|
||||
@suspendable-state-change="changeSuspendState"
|
||||
@height-change="updateVirtualHeight"
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue