fixes
This commit is contained in:
parent
05824010ed
commit
5d1f3c1cee
4 changed files with 7 additions and 4 deletions
|
|
@ -187,7 +187,7 @@ export default {
|
|||
// # Linear style stuff
|
||||
const isLinearView = computed(() => displayStyle.value !== 'tree')
|
||||
const linearElement = useTemplateRef('linear')
|
||||
const linearScrollCompensation = computed(() => isLinearView.value)
|
||||
const linearScrollCompensation = computed(() => isExpanded.value && isLinearView.value)
|
||||
const {
|
||||
heightChart: heightChartLinear,
|
||||
changeSuspendState: changeSuspendStateLinear,
|
||||
|
|
@ -233,7 +233,7 @@ export default {
|
|||
|
||||
const currentAncestorsLite = computed(() => currentAncestors.value.map(({ id }) => ({ id })))
|
||||
const ancestorsElement = useTemplateRef('ancestors')
|
||||
const treeScrollCompensation = computed(() => isTreeView.value)
|
||||
const treeScrollCompensation = computed(() => isExpanded.value && isTreeView.value)
|
||||
const {
|
||||
heightChart: heightChartAncestors,
|
||||
changeSuspendState: changeSuspendStateAncestors,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue