Skip to content
This repository
Browse code

Popup: When focusing on the container, do not bounce focus to an elem…

…ent inside it even if such an element is available. Fixes #5706.
  • Loading branch information...
commit c6054234225cde84198831cf2873ec3dba8b82dd 1 parent 0896247
Gabriel "_|Nix|_" Schulhof gabrielschulhof authored

Showing 1 changed file with 0 additions and 3 deletions. Show diff stats Hide diff stats

  1. +0 3  js/widgets/popup.js
3  js/widgets/popup.js
@@ -193,9 +193,6 @@ define( [
193 193 } else if ( ui.focusElement[ 0 ] === ui.container[ 0 ] ) {
194 194 ui.focusElement = $tgt;
195 195 }
196   - } else if ( ui.focusElement && ui.focusElement[ 0 ] !== ui.container[ 0 ] ) {
197   - ui.container.blur();
198   - ui.focusElement.focus();
199 196 }
200 197
201 198 this._ignoreResizeEvents();

0 comments on commit c605423

Please sign in to comment.
Something went wrong with that request. Please try again.