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

Checkbox on top row remains checked no matter what #65

Closed
Gothbag opened this issue Oct 17, 2016 · 2 comments
Closed

Checkbox on top row remains checked no matter what #65

Gothbag opened this issue Oct 17, 2016 · 2 comments

Comments

@Gothbag
Copy link

Gothbag commented Oct 17, 2016

Expected Behavior

I'm rendering a checkbox on each row that is used to mark the elements that have to be removed from the table when clicking a button. When removing the top row I would expect the checkbox on the row below (now the one on top) not to be checked.

Current Behavior

But as it stands right now, when removing the top row (whose checkbox was checked), the checkbox on the the row below (now on top) remains checked.

Possible Solution

I imagine that the reason for the bug is that React somehow thinks that the "new" top row is the same as the previous one.

Steps to Reproduce (for bugs)

Will provide a link to a fiddle as son as possible.

Context

The context and what I'm trying to accomplish is pretty clear.

Your Environment

  • Version used: 0.7.2
  • Browser Name and version: Internet Explorer 11
  • Operating System and version (desktop or mobile): Windows 7 Enterprise
@KamranAsif
Copy link
Contributor

This is similar to #18
Can you try using this solution proposed here to see if your issue goes away? #18 (comment)

@wcjordan
Copy link
Member

wcjordan commented Nov 6, 2016

I'm going to close this since a solution was given and the ticket has been inactive since then

@wcjordan wcjordan closed this as completed Nov 6, 2016
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

3 participants