I have a worried feeling that this is 'by design', but I've recently
noticed that if one binding in my data-bind attribute is triggered, it
forces all the bindings in the data-bind attribute to be triggered.
Here's a fiddle which demonstrates it: http://jsfiddle.net/J6EPx/2/
Is this right or desired? (It isn't for me!)
I'm trying to develop a web app which requires different elements on a
div (say left and width) to be updated and animated (using a custom
binding) independently. Problem is, these non-animated bindings are
causing my animated bindings to be triggered again, causing a bit of
mess!
Any thoughts on this?
If it interests you lot, I've got a stack overflow question about the
same problem: http://stackoverflow.com/questions/8324454/why-is-my-knockoutjs-custom-binding-being-triggered
Thanks a lot!
Andy.