We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27c2579 commit a9345e6Copy full SHA for a9345e6
src/bundle/Resources/public/js/scripts/sidebar/main.menu.js
@@ -50,13 +50,15 @@
50
const { itemName } = currentTarget.parentNode.dataset;
51
52
if (activeItemName === itemName) {
53
+ const showedTabPanes = doc.querySelectorAll('.ibexa-main-menu__tab-pane.active.show');
54
const animationController = new AbortController();
55
const { signal } = animationController;
56
57
secondLevelMenuNode.addEventListener(
58
'transitionend',
59
() => {
60
secondLevelMenuNode.classList.add('ibexa-main-menu__navbar--hidden');
61
+ showedTabPanes.forEach((tabPane) => tabPane.classList.remove('active', 'show'));
62
animationController.abort();
63
},
64
{ signal },
0 commit comments