Skip to content

Commit bf17415

Browse files
authored
fix(BTable): always allow user selection when properties "selectable" and "no-select-on-click" are used together (#2947)
1 parent 5eeda60 commit bf17415

File tree

1 file changed

+1
-1
lines changed
  • packages/bootstrap-vue-next/src/components/BTable

1 file changed

+1
-1
lines changed

packages/bootstrap-vue-next/src/components/BTable/BTable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ const computedFields = computed<TableField<Items>[]>(() =>
387387
const tableClasses = computed(() => ({
388388
'b-table-busy': busyModel.value,
389389
'b-table-selectable': props.selectable,
390-
'user-select-none': props.selectable && isSelecting.value,
390+
'user-select-none': props.selectable && !props.noSelectOnClick && isSelecting.value,
391391
'b-table-fixed': props.fixed,
392392
'b-table-no-border-collapse': props.noBorderCollapse,
393393
'b-table-no-sort-icon': props.noSortableIcon,

0 commit comments

Comments
 (0)