nextui icon indicating copy to clipboard operation
nextui copied to clipboard

[BUG] - Clicking checkboxes in a multiple selection mode <Table> component no longer causes that row to be selected

Open Kismet333 opened this issue 1 year ago • 6 comments

NextUI Version

2.6.3

Describe the bug

I just upgraded my NextUI to version 2.6.3 and I found that clicking checkboxes in a multiple selection mode <Table> component no longer causes that row to be selected. The row still can be selected if its clicked anywhere else except the checkbox. This includes the main "select all" checkbox in the header of the table, it is no longer selectable.

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

  1. Create a <Table> component with its selectionMode='multiple'.
  2. Add at least 1 row.
  3. Attempt to click a row's checkbox.

Expected behavior

The row becomes selected.

Screenshots or Videos

No response

Operating System Version

Windows

Browser

Chrome

Kismet333 avatar Dec 07 '24 03:12 Kismet333

Noticed this too.

It can be seen on all the demos on the site e.g https://nextui.org/docs/components/table#multiple-row-selection

gregmsanderson avatar Dec 09 '24 00:12 gregmsanderson

Seems to be related to #4220.

Peterl561 avatar Dec 09 '24 01:12 Peterl561

Also need to check with #4145

mayeenulislam avatar Dec 09 '24 08:12 mayeenulislam

This is a high-priority bug that needs to be fixed, as it is preventing multiple table row selection.

chintan-traitfit avatar Dec 09 '24 08:12 chintan-traitfit

Sorry for the inconvenience caused. RCA for this issue is done and fix will be released soon. PR to track the fix: https://github.com/nextui-org/nextui/pull/4274

macci001 avatar Dec 09 '24 11:12 macci001