Goto-original-arrow button now sets conversation highlight/focus even when inline, setting focus now scrolls you to the focused post smoothly. Hide the arrow button when not expanded.
This commit is contained in:
parent
7ee87c7618
commit
a675cfbb3e
4 changed files with 49 additions and 9 deletions
|
@ -8,6 +8,11 @@ const sortAndFilterConversation = (conversation) => {
|
|||
}
|
||||
|
||||
const conversation = {
|
||||
data() {
|
||||
return {
|
||||
highlight: this.statusoid.id
|
||||
}
|
||||
},
|
||||
props: [
|
||||
'statusoid',
|
||||
'collapsable'
|
||||
|
@ -54,6 +59,9 @@ const conversation = {
|
|||
} else {
|
||||
return (id === this.statusoid.id)
|
||||
}
|
||||
},
|
||||
setHighlight(id) {
|
||||
this.highlight = id
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue