[Bug Report] Menu opens in the wrong area via v-model if activator is hidden, opens in correct spot after activator use when absolute
See original GitHub issueVersions and Environment
Vuetify: 1.5.11 Vue: 2.6.10 Browsers: Firefox 66.0 OS: Ubuntu undefined
Steps to reproduce
- Setup a menu that has an activator AND opens with a v-model. But the activator is hidden
- Activate menu and unhide activator at the same time. Menu will open to the far left
- If the menu is now opened with the activator, it will open in the correct spot from now on
Expected Behavior
It opens based on where the activator is on the first v-model
based activation.
Actual Behavior
It opens to the far left.
Reproduction Link
https://codepen.io/anon/pen/EJwmdw?editors=1010
Comments
My example isn’t perfect, but it shows the behavior I’m trying to highlight. It’s especially odd as it opens in the correct place (through v-model) AFTER being opened via the activator, but not before.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Adding a new todo form: Vue events, methods, and models
We now have sample data in place, and a loop that takes each bit of data and renders it inside a ToDoItem in...
Read more >Card component — Vuetify
The v-card component is a versatile component that can be used for anything from a panel to a static image. The card component...
Read more >Vuetify v-menu leaves dropdown open after dialog appears
the problem is if the list item is the activator then it must be open until the dialog is open. my solution would...
Read more >SWE201c Flashcards - Quizlet
Study with Quizlet and memorize flashcards containing terms like Which of the following software development models can best respond to requirements changes ...
Read more >IBM SPSS Neural Networks 26
The multilayer perceptron (MLP) or radial basis function. (RBF) network is a function of predictors (also called inputs or independent variables) that minimize ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fix is to open the dialog after the activator is visible, and you also need to not use
absolute
if you aren’t setting the position manually: https://codepen.io/anon/pen/ZZxGBm?editors=1010Either that or don’t use the activator slot and just set the position yourself every time: https://vuetifyjs.com/en/components/menus#absolute-position-without-activator
Oh I see.
This is because the entire button is replaced on the animation.
If I put the animation over just the icon this no longer occurs.
Scratch my above statement!