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

Stackblitz demo in readme has a state bug on deleiton #85

Closed
e111077 opened this issue Nov 15, 2021 · 1 comment
Closed

Stackblitz demo in readme has a state bug on deleiton #85

e111077 opened this issue Nov 15, 2021 · 1 comment
Labels
TYPE: bug Something isn't working

Comments

@e111077
Copy link

e111077 commented Nov 15, 2021

Description

The state seems to get confused when you remove a todo

Repro

  1. open demo in readme
  2. check the first item
  3. delete the first, selected, item by clicking the X on the right

Expected result

Nothing should be checked and there should be "2 items left"

Actual Result

The (previously) second item, which is now first is checked but not crossed out. Clicking on the check will turn it into 2 items left and again into 3 items left when there are only 2 items present.

@mhevery mhevery added the TYPE: bug Something isn't working label Jan 31, 2022
@manucorporat
Copy link
Contributor

Fixed in main!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TYPE: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants