vuetifyjs/vuetify

[Bug Report][3.11.6] load-children + return-object + search do not work properly in VTreeView

Open

#22,533 创建于 2026年1月20日

在 GitHub 查看
 (1 评论) (1 反应) (0 负责人)TypeScript (7,139 fork)batch import
C: VTreeviewT: buggood first issue

仓库指标

Star
 (40,995 star)
PR 合并指标
 (平均合并 59天 10小时) (30 天内合并 8 个 PR)

描述

Environment

Vuetify Version: 3.11.6 Vue Version: 3.5.27 OS: Windows, Android, Linux

Steps to reproduce

  1. Open "Server1" node
  2. Open "Dir1" node to load children
  3. Open "Dir2" node to load children
  4. Type "Dir1" in search box

Expected Behavior

"File1.txt" and "File2.txt" nodes should stay visible

Actual Behavior

"File1.txt" and "File2.txt" nodes are hidden

Reproduction Link

https://play.vuetifyjs.com/#...

Other comments

I found two ways to fix that 1 - remove "return-object" 2 - remove "load-children".

Images

https://cdn.cosmicjs.com/2d78c770-f5f8-11f0-86a0-bd05f35609da-Untitled.jpg

贡献者指南