Browse Source

fix(nc-gui): add select-none to data cell

pull/5494/head
Wing-Kam Wong 2 years ago
parent
commit
a6b05fc0e5
  1. 2
      packages/nc-gui/components/smartsheet/DivDataCell.vue
  2. 2
      packages/nc-gui/components/smartsheet/TableDataCell.vue

2
packages/nc-gui/components/smartsheet/DivDataCell.vue

@ -11,7 +11,7 @@ provide(CurrentCellInj, el)
</script>
<template>
<div ref="el" @click="cellClickHook.trigger($event)">
<div ref="el" class="select-none" @click="cellClickHook.trigger($event)">
<slot />
</div>
</template>

2
packages/nc-gui/components/smartsheet/TableDataCell.vue

@ -11,7 +11,7 @@ provide(CurrentCellInj, el)
</script>
<template>
<td ref="el" @click="cellClickHook.trigger($event)">
<td ref="el" class="select-none" @click="cellClickHook.trigger($event)">
<slot />
</td>
</template>

Loading…
Cancel
Save