yuku / textcomplete

Autocomplete for HTMLTextAreaElement and more.

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mobile touch event is missed in new update

MaxLeiter opened this issue · comments

#350 broke using mobile to interact with the autocomplete. Downgrading to 0.1.10 fixed it for me.

Thanks for reporting the issue.

@aki77 (as the author of #350) Are you experiencing similar problems on your site?

click only fires with a mouse or pointer like device, so it's definitely the culprit.

commented

The click event also trigger on mobile devices.
https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event

It works fine in my environment.
This is a screencast confirmed to work on iOS devices in BrowserStack.

commented

@MaxLeiter
Can you provide a minimal reproduction?

I have the same issue even on a desktop app. (Chrome version 103)
I am using textcomplete inside a vue.js app and mouse click is not working anymore since version 0.1.11
comparing version 0.1.10 and 0.1.11 v0.1.10...v0.1.11 looks like mouse down event was better, at least for my environment. But I do not understand why click is not working for me. Even the event is not catched by Dropdown in my environment