tw5-checklist icon indicating copy to clipboard operation
tw5-checklist copied to clipboard

[BUG] Duplicate Items Causes Checklist Works Wrongly

Open kookma opened this issue 3 years ago • 1 comments

There is an edge case where tw5-checklist works wrongly! Try to create a checklist with two similar entries like

[ ] Milk
[ ] Bread
[ ] Milk

Then click on one of [ ] Milk it wrongly checks the other one!

kookma avatar Jul 23 '22 03:07 kookma

I think, what you see is the "resorting" if you check the first milk element. If you click the second one it will be checked and stays.

If you click the first element it will be checked and sorted to the end of the list, which looks like as if the second element was checked.

pmario avatar Jul 23 '22 06:07 pmario