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

[Chrome] Drop-down disappear after click on scroll #15

Closed
dgomesbr opened this issue Jan 26, 2012 · 5 comments
Closed

[Chrome] Drop-down disappear after click on scroll #15

dgomesbr opened this issue Jan 26, 2012 · 5 comments

Comments

@dgomesbr
Copy link

After clicking on the arrow to show the scroll it appears correctly, if try clicking on the scroll the drop-down options disappear.

@dgomesbr
Copy link
Author

I didn't look deep the code, but there's something to do on how the

self.trigger(self.containerElement().is(':visible') ? EVENT_HIDE_DROPDOWN : EVENT_SHOW_DROPDOWN);

is treated.

@gerad
Copy link

gerad commented Jan 27, 2012

it's most likely because a click on the scrollbar defocuses the input in chrome, we've worked around this in other autocompletes by not listening to the blur event on the input, and instead trying to deduce it by listening to clicks on the body element and others

@dgomesbr
Copy link
Author

Cool, I don't know how to fix that, but are you able to reproduce it?

@gerad
Copy link

gerad commented Jan 27, 2012

I'm pretty sure #10 fixes it. - Gerad

On Jan 27, 2012, at 3:04 AM, Diego Magalhães wrote:

Cool, I don't know how to fix that, but are you able to reproduce it?


Reply to this email directly or view it on GitHub:
#15 (comment)

@alexgorbatchev
Copy link
Owner

Sounds like a duplicate of #4. I need to review and merge the pull request that fixes it.

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

3 participants