vuetifyjs/vuetify

[Bug Report][3.9.7] VTreeview won't automatically expand searched items' parents

Open

#22,035 建立於 2025年9月9日

在 GitHub 查看
 (1 留言) (0 反應) (1 負責人)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.9.7 Vue Version: 3.5.13 OS: Linux undefined (current)

Steps to reproduce

  1. Type "TEST" into the search field
  2. The "John" node is not expanded

Expected Behavior

The tree should reveal its items in such a manner so that the found items are visible.

Actual Behavior

That doesn't happen. If the parent of the item being searched for is in its collapsed state before the search, it won't be expanded after.

Reproduction Link

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

Other comments

There's a similar issue: https://github.com/vuetifyjs/vuetify/issues/8497, but I don't see the mentioned props anymore in the documentation. It seems outdated.

Images

貢獻者指南