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

[Bug Report][3.1.13] VSelect - Options Menu becomes stuck if nested menu activator is deleted #17094

Closed
joel-wenzel opened this issue Apr 5, 2023 · 1 comment · May be fixed by jonathanestefani/crud_vuetify#5 or aurelienfvre/sae401#1
Assignees
Labels
C: VMenu VMenu T: bug Functionality that does not work as intended/expected

Comments

@joel-wenzel
Copy link
Contributor

Environment

Vuetify Version: 3.1.13
Last working version: 2.6.14
Vue Version: 3.3.0-alpha.8
Browsers: Chrome 111.0.0.0
OS: Windows 10

Steps to reproduce

  • Click the select
  • Click menu on option
  • Click delete
  • Click confirm

Expected Behavior

The select menu should close or at least close when blurred

Actual Behavior

The menu is actually stuck open indefinitely

Reproduction Link

https://play.vuetifyjs.com/#...

@johnleider johnleider added this to the v3.x.x milestone Apr 19, 2023
@johnleider johnleider added T: bug Functionality that does not work as intended/expected C: VMenu VMenu and removed S: triage labels Apr 19, 2023
@crThiago
Copy link

I know it is not a better solution, but you can add setTimeout in your delete function

<script setup>
  import { ref } from 'vue'
  const items = ref([1])

  function onDelete(item) {
    setTimeout(() => items.value.splice(items.value.indexOf(item), 1), 1000)
  }
</script>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VMenu VMenu T: bug Functionality that does not work as intended/expected
Projects
None yet
4 participants