-
Notifications
You must be signed in to change notification settings - Fork 41
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
Can't select value on Safari #29
Comments
Same here, Safari and Chrome have this issue |
+1 (chrome on macosx) but the proposed fix doesn't work either. no problem with safari and firefox though |
Currently, I tested to reproduce this fail on the documentation with these browsers.
I keep to investigate this problem to know if this issue concern only macOS. |
I'm having the same issue with Chrome on Windows. :( |
I was facing the same problem, on Firefox+Windows. In my case, I realized it had to do with I solved it adding this style
so now every element takes only 1 line no matter how long its text. Of course this is just a part of the solution, because now long text won't appear fully. Whole solution could be to make the I haven't made any PR because I'm not sure everyone's problem is really caused by this, maybe it's just me. |
@1u0n Thanks your solution. If this problem can be solved by a specific CSS rule, ping me ! |
Lot of time has passed since opening this issue. I can't reproduce but may people seems have this frustrating problem. So, I have deployed a patch (2.7.1) which integrate the solution given by @1u0n. Thanks for your help ! |
I am experimenting with autocompletejs today to see if it is right for my project. I encountered the issue as well in Chrome 68.0.3440.106. The |
I agree with the assessment above - the blur fires before the click, thereby closing the autocomplete instantly. The |
I can confirm this bug on Firefox 62 and Chrome 69 (both Win).
|
Hi, |
Same issue on Chrome (Windows), fixed with the @gaetanhauray solution. |
@gaetanhauray thank you for your fix! works like a charm now :) |
Hi,
On safari (5.1.7), I can't select a value from the autocompleted list, when I try, the list just close without trigger event attached in _Open() method.
I search for reason and I found this :
I think when I click on a choice (a
<li>
), blur event of element<input>
is trigger BEFORE my click, so the autocomplete list closed immediately, and my click didn't "hit" my<li>
.I fix this problem by forcing delay before close my list
_Blur: function (now) { setTimeout(function () { this.DOMResults.setAttribute("class", "autocomplete"); }.bind(this), 150); }
The text was updated successfully, but these errors were encountered: