Skip to content

Commit

Permalink
Fix collapsing AppNavigationItem children
Browse files Browse the repository at this point in the history
Signed-off-by: Raimund Schlüßler <[email protected]>
  • Loading branch information
raimund-schluessler committed May 20, 2022
1 parent c85aa53 commit d70dd19
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/components/AppNavigationItem/AppNavigationItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,11 @@ export default {
flex-wrap: wrap;
box-sizing: border-box;
width: 100%;
&.app-navigation-entry--collapsible:not(.app-navigation-entry--opened) > ul {
// NO ANIMATE because if not really hidden, we can still tab through it
display: none;
}
}
// When .active class is applied, change color background of link and utils. The
Expand All @@ -523,12 +528,9 @@ export default {
}
/* hide deletion/collapse of subitems */
&.app-navigation-entry--deleted,
&.app-navigation-entry--collapsible:not(.app-navigation-entry--opened) {
> ul {
// NO ANIMATE because if not really hidden, we can still tab through it
display: none;
}
&.app-navigation-entry--deleted > ul {
// NO ANIMATE because if not really hidden, we can still tab through it
display: none;
}
&:not(.app-navigation-entry--editing) {
Expand Down

0 comments on commit d70dd19

Please sign in to comment.