Browse Source

Merge pull request #5494 from nocodb/fix/text-select

fix(nc-gui): select issue in grid view
pull/5497/head
աɨռɢӄաօռɢ 2 years ago committed by GitHub
parent
commit
e989d9dc34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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