Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Click on scrollbar in dropdown makes list disappear #4

Closed
fabricasapiens opened this Issue · 6 comments

2 participants

Fabrica Sapiens Alex Gorbatchev
Fabrica Sapiens

In Chrome on Windows, a click on the scrollbar (as for example on the homepage http://textextjs.com/) will make the list disappear instead of scroll.

Alex Gorbatchev

Thank you for reporting this.

Alex Gorbatchev

@fabricasapiens Sounds like there is a small number of issues specific to Windows. Unfortunately I don't have a readily available windows environment, do you think it's something you could look into?

Fabrica Sapiens

I would assume it's the same issue with Chrome/Chromium across OS but I will try to look into this when I have the time! I think it has to do with not calling an event.preventDefault(); and event.stopPropagation(); somewhere...

Adam Ayres adamayres referenced this issue from a commit in adamayres/jquery-textext
Adam Ayres adamayres Fixes #2 #4 #5 - Capture mousedown event in autocomplete used by the …
…blur event to determine if it was triggered by a scroll click or an item selection, in which case we set focus back to the input instead of closing the autocomplete. Added a click listener to the document body that triggers the autocomplete to close when the click is not within the textext wrap element.
f312b04
Fabrica Sapiens

Sweet :)

Alex Gorbatchev

@adamayres great, thank you! I'll have a look at this shortly.

Prateek Dayal prateekdayal referenced this issue from a commit in prateekdayal/jquery-textext
Adam Ayres adamayres Fixes #2 #4 #5 - Capture mousedown event in autocomplete used by the …
…blur event to determine if it was triggered by a scroll click or an item selection, in which case we set focus back to the input instead of closing the autocomplete. Added a click listener to the document body that triggers the autocomplete to close when the click is not within the textext wrap element.
044f6a9
Alex Gorbatchev

Merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.