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

Mobile touch event is missed in new update #353

Open
MaxLeiter opened this issue Jun 2, 2022 · 5 comments
Open

Mobile touch event is missed in new update #353

MaxLeiter opened this issue Jun 2, 2022 · 5 comments
Labels

Comments

@MaxLeiter
Copy link

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

@yuku yuku added the bug label Jun 2, 2022
@yuku
Copy link
Owner

yuku commented Jun 2, 2022

Thanks for reporting the issue.

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

@MaxLeiter
Copy link
Author

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

@aki77
Copy link
Contributor

aki77 commented Jun 2, 2022

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
Copy link
Contributor

aki77 commented Jun 2, 2022

@MaxLeiter
Can you provide a minimal reproduction?

@fabianeichfeldt
Copy link

fabianeichfeldt commented Jul 21, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants