textcomplete icon indicating copy to clipboard operation
textcomplete copied to clipboard

Mobile touch event is missed in new update

Open MaxLeiter opened this issue 3 years ago • 5 comments

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

MaxLeiter avatar Jun 02 '22 07:06 MaxLeiter

Thanks for reporting the issue.

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

yuku avatar Jun 02 '22 07:06 yuku

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

MaxLeiter avatar Jun 02 '22 07:06 MaxLeiter

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.

aki77 avatar Jun 02 '22 07:06 aki77

@MaxLeiter Can you provide a minimal reproduction?

aki77 avatar Jun 02 '22 07:06 aki77

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 https://github.com/yuku/textcomplete/compare/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

fabianeichfeldt avatar Jul 21 '22 08:07 fabianeichfeldt