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> </script>
<template> <template>
<div ref="el" @click="cellClickHook.trigger($event)"> <div ref="el" class="select-none" @click="cellClickHook.trigger($event)">
<slot /> <slot />
</div> </div>
</template> </template>

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

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

Loading…
Cancel
Save