timstuyckens/chromeextensions-knockoutjs

Panel only refreshes when selection of DOM changed. Not when observable changes

Closed this issue · 2 comments

You don't see the panel content changing when you keep it open at the same dom element.
eg: when you type something in databinded input, panel content doesn't update automatically.

Possible workaround: refresh when the dev tools are focussed
http://developer.chrome.com/extensions/windows.html#event-onFocusChanged
Didn't get it to work from the first time (and yes, I set the 'tabs' permission).

I had a crack at creating a ko.computed that monitored the changes but it seems that the object returned from the handler is immutable 😦