Skip to content

Commit

Permalink
Merge pull request #722 from jamespaologarcia/17932-ddm-keyboard-input
Browse files Browse the repository at this point in the history
For PR - #17932 Namerequest UI: Drop down menu does not work with keyboard input
  • Loading branch information
jamespaologarcia authored Oct 4, 2023
2 parents 6d1a27f + 8c89d55 commit 07dff9c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/common/nested-select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</template> -->

<template #item="{ item }">
<v-list-item-content
<v-list-item
v-if="item.isHeader"
class="group-header border-top mx-4 py-4"
@click.stop="toggleActionGroup(item.group)"
Expand All @@ -44,7 +44,7 @@
{{ item.group === activeActionGroup ? 'mdi-chevron-up' : 'mdi-chevron-down' }}
</v-icon>
</div>
</v-list-item-content>
</v-list-item>

<!-- render but conditionally hide disabled list items, so that the v-select
continues to display the current selection even when a different group is active -->
Expand Down Expand Up @@ -158,6 +158,8 @@ export default class NestedSelect extends Vue {
// Removes empty spaces on nested select when the list is collapsed
::v-deep .v-list-item {
min-height: auto;
display: list-item;
list-style:none;
}
// Hide and remove space for disabled list items and makes the nested select work for firefox
.v-list-item.v-list-item--disabled.theme--light .v-list-item__content.hide-me {
Expand Down

0 comments on commit 07dff9c

Please sign in to comment.