1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-06 21:56:42 +02:00

Drop tabs auto-focus (#37146)

* fix: drop tabs auto-focus
This commit is contained in:
GeoSot
2022-09-20 17:20:47 +03:00
committed by GitHub
parent 2be9cd59ba
commit 1510c25e9b
2 changed files with 29 additions and 3 deletions

View File

@@ -115,7 +115,6 @@ class Tab extends BaseComponent {
return
}
element.focus()
element.removeAttribute('tabindex')
element.setAttribute('aria-selected', true)
this._toggleDropDown(element, true)