sdebaun / sparks-cyclejs

45 stars 4 forks source link

Fix collapsible list behaviour #119

Closed jemmyw closed 8 years ago

jemmyw commented 8 years ago

Previously the list item would not react to the first click after clicking cancel because the scan would return false for the next value. Base the scan off the last isOpen value to always do the right thing.