yuku / textcomplete

Autocomplete for HTMLTextAreaElement and more.

Home Page:https://yuku.takahashi.coffee/textcomplete/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Click to complete

lifeisfakenews opened this issue · comments

Would be a nice addition if users could click on options in the completion list to complete them, as well as tab and enter and arrow keys to select

It makes sense - i naturally go to click on the items as you can with other completion inputs on other sites

Hi, thanks for the comment. I think you can complete by clicking the dropdown. If it doesn't work in your app, I think you are missing something 🤔

2023-11-16.8.33.11.mov

I have currently same problem:
I am doing a migration of my frontend from Vue/Vuetify 2 to Vue 3 and have also problem with no click handling.

In vue2 it works still fine, but Vue3 seems to block the click event.

I'm using astro and the contenteditable version of it with some other code to inline preview markdown stuff
When i click on an item in the list, the list disappears but the text isn't filled into the box? not sure if this is an issue with the contenteditable package or my other logic i can try and test it without other input handlers at some point

This happens on the demo page as well, so I don't think its any custom logic. It's specific to the contenteditable version. Would like to see this fixed as well.