Browse Source

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

pull/2492/head
jlukic 9 years ago
parent
commit
6b1867531f
1 changed files with 1 additions and 0 deletions
  1. 1
      src/definitions/modules/transition.js

1
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();

Loading…
Cancel
Save