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

Click on scrollbar in dropdown makes list disappear #4

Closed
fabricasapiens opened this issue Jan 10, 2012 · 6 comments
Closed

Click on scrollbar in dropdown makes list disappear #4

fabricasapiens opened this issue Jan 10, 2012 · 6 comments
Assignees
Milestone

Comments

@fabricasapiens
Copy link

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.

@ghost ghost assigned alexgorbatchev Jan 10, 2012
@alexgorbatchev
Copy link
Owner

Thank you for reporting this.

@alexgorbatchev
Copy link
Owner

@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?

@fabricasapiens
Copy link
Author

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...

adamayres added a commit to adamayres/jquery-textext that referenced this issue Jan 16, 2012
…usedown 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.
@fabricasapiens
Copy link
Author

Sweet :)

@alexgorbatchev
Copy link
Owner

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

unamashana pushed a commit to unamashana/jquery-textext that referenced this issue Jan 31, 2012
…usedown 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.
@alexgorbatchev
Copy link
Owner

Merged.

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

No branches or pull requests

1 participant