ie8-ie9 Blur event fires when scrolling list
Blur event is firing and hiding
in ie8 and ie9 when user tries to scroll down the list.Any solution to this? Im trying a lot of options but cant find the right way to do it.
This is the code at fancySelect.js, but I dont know how to detect when the user is still on the same html object :
sel.on('blur', function(e) { if (trigger.hasClass('open')) { return setTimeout(function() { return trigger.trigger('close'); }, 120); } });
The same problem for me. Please reply if you plan fix it... Thnx.
At the end what I did is removing the line that hides the list, so I really didnt fix it but at least it worked better for my puposes this way ...
I think this issue connected with this one: https://github.com/octopuscreative/FancySelect/issues/9 I've made pull-request with those changes, please review it whenever it will be possible!
Try my patched version:
https://github.com/typoworx-de/FancySelect
A fix for the Typoworx-de Patch:
Instead: $('body').on('click', function(e) { if($('.fancy-select > .trigger').is('.open')) { if(!$(e.target).is('.trigger') && $(e.target).closest('.fancy-select > .trigger').length == 0) { trigger.trigger('close.fs'); } } });
USE: $('body').on('click', function(e) { if( $('.fancy-select > .trigger.open').length >= 1) { $('.fancy-select > .trigger.open').not( $(e.target) ).trigger('close.fs'); } });
This fixes problem when user clicks in one select and then click in another one. The patch closes the last one.
This worked really well for me. Thanks