Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - <Switch /> and/or <Checkbox /> is not compatible within <Table /> Row #4145

Closed
mayeenulislam opened this issue Nov 25, 2024 · 2 comments

Comments

@mayeenulislam
Copy link

NextUI Version

2.4.6

Describe the bug

We implemented <Switch /> inside <Table /> row to update status from 0 to 1 to 0. But we eventually found that, when the status is 0 the row is behaving ill for all the checkboxes within the row.

I can assure that, clicking on the checkboxes is working fine. The API is only getting called by the Switches when they are clicked on them.

And the anomaly of visually checking the <Switch />s are only on the UI, and no API is getting hit.

(I attached a video for understanding the issue)

The bug is OS and Browser-agnostic.

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

  1. Add a NextUI table
  2. Within a cell, add NextUI Switch or any other Checkbox
  3. Mark the checkbox unchecked (status = 0)
  4. Click on the row or the row selection checkbox

Expected behavior

The row selection and switch or any other checkboxes within a row should work independently

Screenshots or Videos

Screen.Recording.2024-11-25.173147.mp4

Operating System Version

Windows

Browser

Edge

@wingkwong
Copy link
Member

fixed in #3909. please wait for next release or you can use beta branch if necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants