You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the end of the Navbar documentation, there is an example of weird behavior. When using the same code only the first tab event is treigerring. If using as tabEl parent <ul> element it works as expected.
vartabEl=document.querySelector('button[data-bs-toggle="tab"]')tabEl.addEventListener('shown.bs.tab',function(event){event.target// newly activated tabevent.relatedTarget// previous active tab})
—— macOS 11.2.3, Chrome Version 89.0.4389.90 (Official Build) (arm64)
The text was updated successfully, but these errors were encountered:
At the end of the Navbar documentation, there is an example of weird behavior. When using the same code only the first tab event is treigerring. If using as
tabEl
parent<ul>
element it works as expected.—— macOS 11.2.3, Chrome Version 89.0.4389.90 (Official Build) (arm64)
The text was updated successfully, but these errors were encountered: