-
Notifications
You must be signed in to change notification settings - Fork 224
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
Filter drop down disappears + IE 8/9 #132
Comments
This is still an issue - its a bit of a hack, however I coded a temporary work-around to enable my projects current code to be usable... as this was a complete blocker for us, as the client uses IE. So... in the two places that the Autocomplete is instantiated I added the following code.
this.box.autocomplete('widget').on({
mouseover: function () {
$(box).data('uiwidgetfocused', true);
},
mouseout: function () {
$(box).data('uiwidgetfocused', false);
}
});
var $box = this.box;
var originalClose = $(this.box).data("ui-autocomplete").close;
$(this.box).data("ui-autocomplete").close = function (event) {
var uiwidgetfocused = $($box).data('uiwidgetfocused');
if ((uiwidgetfocused === undefined) || !uiwidgetfocused) {
originalClose.apply(this, arguments);
}
}; Like I say.. its not beautiful, however it seems to work well and got me out of a pinch. Cheers... //WildStyle |
Hi, i am unable to use above code block, can you guys show me how it looks in visualsearch.js. Thanks |
I got it working by commenting a line. I still need to do some testing to ensure that it does not break something else. LINE //this.box.bind('blur', this.deferDisableEdit); // Rendering the input sets up autocomplete, events on focusing and blurring
}, |
I tried the url http://documentcloud.github.io/visualsearch/ on IE 8/9 and selected 'country' from the filter, when I click on scroll bar and trying to drag of the listed countries it disappears.
The text was updated successfully, but these errors were encountered: