FancySelect icon indicating copy to clipboard operation
FancySelect copied to clipboard

Closing when clicking on scroll bar

Open fernandodamaso opened this issue 10 years ago • 9 comments

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?

fernandodamaso avatar Nov 14 '14 19:11 fernandodamaso

I'm also having the same issue. For example in ie11 (or any IE), when you click a dropdown and then use the arrows to move the list up or down it closes within 1 second or so. Does that for both the arrows and the scroll bar. screen shot 2014-12-24 at 11 27 58 am

devonbeard avatar Dec 24 '14 19:12 devonbeard

Same error here.

notnotgabriel avatar Jan 16 '15 17:01 notnotgabriel

+1 ):

victormiguez avatar Jan 16 '15 19:01 victormiguez

Seeing this in IE (9+, didn't test 8 or lower), Chrome & Safari. Only FF seems fine.

dan24678 avatar Jan 21 '15 18:01 dan24678

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.

devonbeard avatar Jan 23 '15 00:01 devonbeard

Having this issue in FF and IE too.

oddnavy avatar Feb 10 '15 22:02 oddnavy

Same here! I hope it'll be fixed. Couldn't achieve a solution.

devBwebi avatar Feb 23 '15 18:02 devBwebi

Yep, there is a problem with closing a options list when original select (tag

Fast solution is remove handling "blur.fs", in code

sel.on('blur.fs', function() {

})

pepa-linha avatar Feb 25 '15 18:02 pepa-linha

Thanks pepa-linha! Have you tried it? is it working? I will give it a shot right away.

devBwebi avatar Feb 25 '15 18:02 devBwebi