-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
fix(VTreeview): faster interactions with large trees #22255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Do you have an example of what specifically is broken by this? |
|
Related: #21325 |
<template>
<v-app theme="dark">
<v-container>
<v-treeview
:items="items"
items-registration="props"
select-strategy="classic"
selectable
/>
</v-container>
</v-app>
</template>
<script setup>
const items = [
{
value: 'group-1',
title: 'Components',
children: [
// missing explicit `value=...`, won't be picked up by items-registration="props"
{ href: 'https://vuetifyjs.com/en/components/treeview', title: 'Treeview' },
{ href: 'https://vuetifyjs.com/en/components/buttons', title: 'Buttons' },
{ href: 'https://vuetifyjs.com/en/components/cards', title: 'Cards' },
],
},
]
</script> |
|
That doesn't seem to be any different to on master. Playground |
|
return-object is currently broken, with
|
|
Restored support for |
595d7d5 to
ee78e37
Compare
fixes #21720
Introduces
items-registrationprop -"props" | "render"(set to"render"for backward compatibility).When set to
"props", registration of nested items won't require renderingVListItems.Markup: