Skip to content

Commit

Permalink
fix(SelectableParticipant): fix keydown.enter event by setting a new …
Browse files Browse the repository at this point in the history
…value to modelProxy

Signed-off-by: Maksim Sukharev <[email protected]>
  • Loading branch information
Antreesy authored and backportbot[bot] committed Oct 1, 2024
1 parent 0d42810 commit 9d7f17c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/BreakoutRoomsEditor/SelectableParticipant.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
:aria-label="participantAriaLabel"
type="checkbox"
class="selectable-participant__checkbox"
@keydown.enter="handleEnter">
@keydown.enter.stop.prevent="handleEnter">
<!-- Participant's avatar -->
<AvatarWrapper :id="actorId"
token="new"
Expand Down Expand Up @@ -139,7 +139,11 @@ export default {
t,
handleEnter(event) {
event.target.checked = !event.target.checked
if (this.isBulkSelection) {
event.target.click()
} else {
this.$emit('click-participant', this.participant)
}
},
}
}
Expand Down

0 comments on commit 9d7f17c

Please sign in to comment.