Skip to content

[Bug Report] Attach menu from v-select with menu-props not working #7547

@sarahtheflame

Description

@sarahtheflame

Versions and Environment

Vuetify: 1.5.14
Vue: 2.6.10
Browsers: Chrome 74.0.3729.169
OS: Windows 10

Steps to reproduce

  1. Insert a v-select
  2. Create a div with an id
  3. Add this attribute to the v-select: :menu-props="{ attach: '#yourId' }"
  4. Inspect DOM to locate the menu: it is at the application root instead of inside the div with the id

Expected Behavior

The menu generated by v-select should be a child of the div with the id

Actual Behavior

The menu is attached to the root element of the Vue app

Reproduction Link

https://codepen.io/sarahtheflame/pen/MMyzPb

Other comments

I included a basic menu in the codepen with the expected functionality. The attach property works in a simple menu, but not when passed from a v-select by menu-props

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions