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

Scrollable list #1

Open
100006 opened this issue Aug 19, 2014 · 1 comment
Open

Scrollable list #1

100006 opened this issue Aug 19, 2014 · 1 comment

Comments

@100006
Copy link

100006 commented Aug 19, 2014

Thanks for your great work.
I just tried to display a scrollbar to dropdown list. It just working fine in FireFox. But it doesn't work in Chrome and Safari.
When I click on the scrollbar, the list gets disappear.
Could you please suggest to resolve this issue?
my Css:
ol{
height:150px;
overflow-y:scroll;
}

@mmende
Copy link
Owner

mmende commented Aug 19, 2014

Hi 100006,
The list disappears because the click on an item in the list triggers the blur event on the input. It seems like FireFox is not propagating the click event when the mouse hits a scrollbar in this case. So to solve this issue you'd have to check if the user is clicking on a scrollbar into the list or on an element to fade the list out again. I have no solution for that right now, but I'll check what I can do to solve this issue.

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

2 participants