From 1510c25e9be4d8f7f2ba23622bfdfd9afebb6598 Mon Sep 17 00:00:00 2001 From: GeoSot Date: Tue, 20 Sep 2022 17:20:47 +0300 Subject: Drop tabs auto-focus (#37146) * fix: drop tabs auto-focus --- js/src/tab.js | 1 - 1 file changed, 1 deletion(-) (limited to 'js/src') diff --git a/js/src/tab.js b/js/src/tab.js index 91187ae9f..31dcec4a4 100644 --- a/js/src/tab.js +++ b/js/src/tab.js @@ -115,7 +115,6 @@ class Tab extends BaseComponent { return } - element.focus() element.removeAttribute('tabindex') element.setAttribute('aria-selected', true) this._toggleDropDown(element, true) -- cgit v1.2.3