From 6b1867531f13f1dc6087a7636ff3567bf942e714 Mon Sep 17 00:00:00 2001 From: jlukic Date: Tue, 30 Jun 2015 13:28:31 -0400 Subject: [PATCH] Fixed terrible bug where IE would refocus wrong element if focused element was hidden with transition. Caused dropdowns to re-open in IE on click --- src/definitions/modules/transition.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/definitions/modules/transition.js b/src/definitions/modules/transition.js index e9e5dd666..d281bec76 100644 --- a/src/definitions/modules/transition.js +++ b/src/definitions/modules/transition.js @@ -760,6 +760,7 @@ $.fn.transition = function() { if( module.is.animating() ) { module.reset(); } + element.blur(); // IE will trigger focus change if element is not blurred before hiding module.remove.display(); module.remove.visible(); module.set.hidden();