-
Notifications
You must be signed in to change notification settings - Fork 165
Closing when clicking on scroll bar #65
Comments
Same error here. |
+1 ): |
Seeing this in IE (9+, didn't test 8 or lower), Chrome & Safari. Only FF seems fine. |
I was trying to debug this and the issue is with the close.fs trigger function. It may need to be broken out into two functions one for when you click an option list item it closes the dropdown and then one for clicking on the outside of the element to close. |
Having this issue in FF and IE too. |
Same here! I hope it'll be fixed. |
Yep, there is a problem with closing a options list when original select (tag ) lost focus, then options are hided. Fancy select is bad designed with that because tag with class "trigger" should be focusable but it is not, then tag with class with "options" should be child "trigger" element... Fast solution is remove handling "blur.fs", in code sel.on('blur.fs', function() { }) |
Thanks pepa-linha! |
A more elegant approach to fixing `Closing when clicking on scroll bar paulstraw#65`. - added condition to if statement in `blur.fs` to detect if options is hovered. - if not hovered, keep <select> in focus.
When the select has a max-height property and it creates a scrollbar, when clicking on the scrollbar to see the bottom items, the list disappear. Can the list only close when selecting one of the items only?
The text was updated successfully, but these errors were encountered: