Skip to content
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

feat(VMenu): add submenu prop #20092

Merged
merged 7 commits into from
Jul 30, 2024
Merged

feat(VMenu): add submenu prop #20092

merged 7 commits into from
Jul 30, 2024

Conversation

KaelWD
Copy link
Member

@KaelWD KaelWD commented Jul 3, 2024

Description

replaces #20091
closes #19093
closes #20130

TODO:

  • Bug: open-on-hover closes multiple levels with keyboard

Markup:

<template>
  <v-list style="width: 200px">
    <v-list-item v-for="i in 5" :title="`Level 0 item ${i}`" link>
      <v-menu activator="parent" submenu>
        <v-list>
          <v-list-item v-for="j in 5" :title="`Level 1 item ${j}`" link>
            <v-menu activator="parent" submenu>
              <v-list>
                <v-list-item v-for="k in 5" @click="log">Level 2 item {{ k }}</v-list-item>
              </v-list>
            </v-menu>
          </v-list-item>
        </v-list>
      </v-menu>
    </v-list-item>
  </v-list>
</template>

<script setup>
  function log () {
    console.log('hello world')
  }
</script>

@KaelWD KaelWD self-assigned this Jul 3, 2024
@KaelWD KaelWD added T: feature A new feature C: VMenu VMenu labels Jul 3, 2024
@KaelWD KaelWD added this to the v3.7.0 (Odyssey) milestone Jul 3, 2024
@KaelWD KaelWD marked this pull request as ready for review July 25, 2024 06:31
Copy link
Contributor

🚀 Nightly release published to @vuetify/[email protected].

Copy link
Contributor

🚀 Nightly release published to @vuetify/[email protected].

Copy link
Contributor

🚀 Nightly release published to @vuetify/[email protected].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VMenu VMenu T: feature A new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant