nextui-org / nextui

🚀 Beautiful, fast and modern React UI library.
https://nextui.org
MIT License
21.74k stars 1.47k forks source link

The table has some bugs #3908

Closed just-ads closed 2 hours ago

just-ads commented 2 hours ago

NextUI Version

2.4.8

Describe the bug

1.When a switch component exists in the table and showSelectionCheckboxes is true, the single-machine multiple selection box will change the switch state to enabled at the same time. Apex_1729131438508 2.In addition to using nextui's own buttons, using other tags will trigger multiple selections

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

1.Set showSelectionCheckboxes=true 2.Add Switch Component 3.Click checkbox

Expected behavior

1.Clicking the checkbox should not cause the switch state to change. 2.Clicking other custom buttons will not trigger the selection.

Screenshots or Videos

No response

Operating System Version

windown

Browser

Chrome

linear[bot] commented 2 hours ago

ENG-1471 The table has some bugs

wingkwong commented 2 hours ago

duplicate - https://github.com/nextui-org/nextui/issues/2959