rivets icon indicating copy to clipboard operation
rivets copied to clipboard

Broken observers when component is unbound by rv-if and then shown again

Open stalniy opened this issue 8 years ago • 2 comments

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

stalniy avatar Mar 04 '16 09:03 stalniy

Hi @stalniy May be it's fixed with #611?

jccazeaux avatar May 16 '16 08:05 jccazeaux

@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

Namek avatar Sep 04 '16 20:09 Namek