Skip to content

Commit 5728b2b

Browse files
authored
fix(VTreeview): hide extended lines when fluid (#21798)
fixes #21794
1 parent 215bfd8 commit 5728b2b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/vuetify/src/components/VTreeview/VTreeview.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ function flatten (items: ListItem[], flat: ListItem[] = []) {
2828
}
2929

3030
export const makeVTreeviewProps = propsFactory({
31-
fluid: Boolean,
3231
openAll: Boolean,
3332
indentLines: [Boolean, String] as PropType<boolean | IndentLinesVariant>,
3433
search: String,

packages/vuetify/src/components/VTreeview/VTreeviewChildren.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export type VTreeviewChildrenSlots<T> = {
3737
}
3838

3939
export const makeVTreeviewChildrenProps = propsFactory({
40+
fluid: Boolean,
4041
disabled: Boolean,
4142
loadChildren: Function as PropType<(item: unknown) => Promise<void>>,
4243
loadingIcon: {
@@ -132,7 +133,7 @@ export const VTreeviewChildren = genericComponent<new <T extends InternalListIte
132133
depth,
133134
isLast,
134135
isLastGroup: props.isLastGroup,
135-
leafLinks: !props.hideActions,
136+
leafLinks: !props.hideActions && !props.fluid,
136137
separateRoots: props.separateRoots,
137138
parentIndentLines: props.parentIndentLines,
138139
variant: props.indentLinesVariant,

0 commit comments

Comments
 (0)