Skip to content

Commit

Permalink
prevent editable item from getting selected when clicking on the text…
Browse files Browse the repository at this point in the history
… input or confirm/cancel button

Signed-off-by: Jonathan Treffler <mail@jonathan-treffler.de>
  • Loading branch information
JonathanTreffler committed Sep 2, 2020
1 parent a6c68ab commit 906f459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/AppNavigationItem/InputConfirmCancel.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div class="app-navigation-entry__inline-input-container">
<form @submit.prevent="confirm" @keydown.esc.exact.prevent="cancel">
<form @submit.prevent="confirm" @keydown.esc.exact.prevent="cancel" @click.stop.prevent>
<input ref="editingInput"
v-model="valueModel"
type="text"
Expand Down

0 comments on commit 906f459

Please sign in to comment.