rivets
rivets copied to clipboard
Broken observers when component is unbound by rv-if and then shown again
Check this fiddle: https://jsfiddle.net/stalniy/ftnk0u0o/
When checkbox is checked then changes are synchronised between component and parent view. But when you uncheck and then check checkbox again parent and component's view are desynchronized.
CC: @Duder-onomy @blikblum @Leeds-eBooks
Hi @stalniy May be it's fixed with #611?
@jccazeaux I just checked on it and it doesn't seem to work.
I have opened the fiddle made by @stalniy and replaced rivets.js with https://cdnjs.cloudflare.com/ajax/libs/rivets/0.9.4/rivets.bundled.min.js
Also tested 0.9.3
, 0.9.0
and 0.8.1
on current Chrome and Firefox.
The modified fiddle (rivets lib changed only) here: https://jsfiddle.net/ccqvd0un/
BTW when you open the 0.9.4
file from CDN you'll see 0.9.3
at the top in the comment