Commit 4e9a855b authored by jonnybradley's avatar jonnybradley

[FIX] chosen: Exclude the top level .modal div from this showing/hiding...

[FIX] chosen: Exclude the top level .modal div from this showing/hiding treatment on chosen:showing_dropdown events as it makes modals in IE jump up and down when using them (most curious, as it didn't in 18.x)
parent d5833dbe
Pipeline #50166326 failed with stages
in 26 minutes and 33 seconds
......@@ -1072,7 +1072,7 @@ $.fn.tiki = function(func, type, options) {
var hidden = $();
$select.chosen(opts2)
.on('chosen:showing_dropdown', function(){
hidden = $(this).parents(":not(body)").filter(function(){
hidden = $(this).parents(":not(body,.modal)").filter(function(){
return $(this).css('overflow') === 'hidden';
}).css('overflow', 'visible');
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment