Browse Source

fix(nc-gui): remove incorrect @selectstart.prevent

pull/4482/head
Wing-Kam Wong 2 years ago
parent
commit
d508b915f4
  1. 3
      packages/nc-gui/components/smartsheet/Grid.vue

3
packages/nc-gui/components/smartsheet/Grid.vue

@ -664,8 +664,7 @@ watch(
</th>
</tr>
</thead>
<!-- this prevent select text from field if not in edit mode -->
<tbody ref="tbodyEl" @selectstart.prevent>
<tbody ref="tbodyEl">
<LazySmartsheetRow v-for="(row, rowIndex) of data" ref="rowRefs" :key="rowIndex" :row="row">
<template #default="{ state }">
<tr class="nc-grid-row" :data-testid="`grid-row-${rowIndex}`">

Loading…
Cancel
Save