We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f0977e commit 67281f2Copy full SHA for 67281f2
1 file changed
packages/golden-layout/src/controls/Tab.ts
@@ -184,7 +184,9 @@ export default class Tab {
184
// being erroneously marked as focused if the user's DOM element
185
// is removed and they click another tab. To prevent this, we
186
// remove existing "lm_focusin" classes first.
187
- $('lm_focusin').removeClass('lm_focusin');
+ $('.lm_focusin', this._layoutManager.root.element).removeClass(
188
+ 'lm_focusin'
189
+ );
190
191
this.element.addClass('lm_focusin');
192
}
0 commit comments