JaleelB / emblor

A fully-featured tag input component built with shadcn/ui
https://emblor.jaleelbennett.com
MIT License
674 stars 31 forks source link

Autocomplete suggestions aren't clickable and don't always appear #61

Closed mfigdore closed 2 months ago

mfigdore commented 3 months ago

I'm running into the same issue as #19, where autocomplete suggestions aren't clickable. The solution in that issue didn't work for me.

Additionally, I don't see any autocomplete suggestions when the name of a tag is partially typed, but then the autocomplete panel is opened.

image

Thanks for the great repo and the help :)

JaleelB commented 3 months ago

Hey @mfigdore

Thank you for reporting this and for your kind words about the repo! To better assist you, could you please provide a few more details:

Version Information: Could you confirm the version of the package you are currently using? This will help us understand if you have the latest updates where the issue was addressed.

Code Snippet: Could you share a snippet of how you're implementing the autocomplete feature in your setup? This will help us identify any potential misconfigurations or specific use cases.

Browser and Environment: Which browser and version are you using? Also, are you seeing this behavior in a specific environment (e.g., development, production)?

Error Logs: Are there any console errors when you attempt to use the autocomplete feature or when the issue occurs?

Any additional information or screenshots you could provide would be greatly helpful in diagnosing the problem more accurately.

Thanks for your cooperation!

mfigdore commented 2 months ago

I found the issue with the autocomplete suggestions not being clickable — this is because I’m using Emblor within a shadcn Dialog. It looks like this could be the solution. Is it possible to add a property to the API to set modal={true}?

Regarding autocomplete suggestions not appearing, this happens in Emblor 1.4.0 and can be demoed using the autocomplete example on the website:

  1. Remove a tag
  2. Type the first 4 letters of the tag
  3. Press the arrow to open the autocomplete menu
JaleelB commented 2 months ago

@mfigdore

The enhancements discussed in this thread have been addressed in the v1.4.2 release.