How can I sync filtering with open and active nodes in a v-tree component?

I have a v-tree with more than 1000 nodes. I managed to code the filtering but now I need to sync filtered nodes with open and active ones, i.e., I want the nodes selected in the filtering process to expand and be active.

My treeview component:

 <v-treeview
  dense
  hoverable
  activatable
  :active="[classeId]"
  :open="selectedParents"
  :items="classesTree"
  item-key="id"
  :search="search"
  :filter="filter"
>
  <template slot="label" slot-scope="{ item }">
    <v-btn text depressed @click="go(item.id)">{{ item.name }}</v-btn>
    <br>
  </template>
</v-treeview>

And the field I am using to capture the filtering expression:

<v-text-field
    v-model="search"
    label="Filtrar por código, título, notas aplic., exemplos de notas ou termos de índice"
    dark
    text
    solo-inverted
    hide-details
    clearable
    clear-icon="mdi-close-circle-outline"
  ></v-text-field>

And my filter function:

computed: {
filter() {
  return (item, queryText, itemText) => {
    const codigo = item.id
    const titulo = item.titulo
    const notas = item.notas
    const exemplos = item.exemplos
    const tis = item.tis
    const searchText = queryText.toLowerCase()

    return codigo.indexOf(searchText) > -1 ||
            titulo.indexOf(searchText) > -1 ||
            notas.indexOf(searchText) > -1 ||
            exemplos.indexOf(searchText) > -1 ||
            tis.indexOf(searchText) > -1
  }
}

when created open is populated with the parents of a selected node passed as parameter and active is a singular list with that node.

When I start typing the tree is filtered but level 1 nodes do not open even if the children are selected by the filtering.

What should I do to sync these two things?

TIA
jcr