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]: Playground Model Combobox HoverCard bugs #5380

Open
2 tasks done
Lexachoc opened this issue Oct 14, 2024 · 0 comments · May be fixed by #5382
Open
2 tasks done

[bug]: Playground Model Combobox HoverCard bugs #5380

Lexachoc opened this issue Oct 14, 2024 · 0 comments · May be fixed by #5382
Labels
bug Something isn't working

Comments

@Lexachoc
Copy link

Lexachoc commented Oct 14, 2024

Describe the bug

https://ui.shadcn.com/examples/playground

Two bugs I found for this playground example.

  1. The HoverCard of the Model will not update after "No Models found." shows
    recording

  2. When clicking on the HoverContent, the HoverContent will flash!
    recording

Affected component/components

Popover, Combobox, HoverCard

How to reproduce

  1. Go to: https://ui.shadcn.com/examples/playground
  2. Click on Model
  3. Type something until "No Models found." shows and then hover on the CommandItem again, you'll find that the HoverCard will not update anymore
  4. Also another bug is the flashing issue, when clicking on the HoverContent, the HoverContent will flash!

Codesandbox/StackBlitz link

https://github.com/shadcn-ui/ui/blob/main/apps/www/app/(app)/examples/playground/components/model-selector.tsx

Logs

No response

System Info

Chrome Version 129.0.6668.101 (Official Build) (64-bit)

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues
@Lexachoc Lexachoc added the bug Something isn't working label Oct 14, 2024
@actopas actopas linked a pull request Oct 14, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant