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

[USelectMenu] in [UFormGroup] doesn't closing #727

Closed
9uenther opened this issue Sep 22, 2023 · 7 comments
Closed

[USelectMenu] in [UFormGroup] doesn't closing #727

9uenther opened this issue Sep 22, 2023 · 7 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@9uenther
Copy link
Contributor

USelectMenu in UFormGroup does not close options after selection by click. Selection with keyboard works fine.

<template>
  <UFormGroup>
    <USelectMenu 
      v-model="userSel" 
      :options="userList"
    />
  </UFormGroup>
</template>
<script setup>
  const userSel = ref()
  const userList = ['Wade Cooper', 'Arlene Mccoy', 'Devon Webb', 'Tom Cook', 'Tanya Fox', 'Hellen Schmidt', 'Caroline Schultz', 'Mason Heaney', 'Claudie Smitham', 'Emil Schaefer']
</script>
<style>
/**/
</style>
@9uenther 9uenther added the bug Something isn't working label Sep 22, 2023
@Haythamasalama
Copy link
Contributor

Hi @9uenther, I tried this, and it worked for me without any problems ✅ . If you still encounter issues, could you please provide a minimal test case on StackBlitz ?

@9uenther
Copy link
Contributor Author

9uenther commented Sep 22, 2023

https://stackblitz.com/edit/nuxt-ui-bcxy6z?file=app.config.ts,app.vue

I have this issue with Chrome, Brave and Firefox on Linux.

Copy link
Member

This has already been fixed by #638 but not yet released. You can use the Edge channel to have the latest updates: https://ui.nuxt.com/getting-started/installation#edge

Copy link
Member

Feel free to reopen if you have the bug on the Edge version or on the next release.

Copy link
Member

Duplicate #621

@benjamincanac benjamincanac added the duplicate This issue or pull request already exists label Sep 22, 2023 — with Volta.net
@9uenther
Copy link
Contributor Author

The same with "@nuxt/ui": "npm:@nuxt/ui-edge@latest"

https://stackblitz.com/edit/nuxt-ui-fiuue4?file=app.vue

Copy link
Member

The package-lock.json of your reproduction has @nuxt/ui 2.8.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants