'with' causes error on Internet Explorer #158

Closed
kevinsimper opened this Issue Feb 11, 2014 · 1 comment

Projects

None yet

2 participants

@kevinsimper

First, thanks for this awesome framework, really nice for us who still need to support Internet Explorer < 9.

I got this weird error and after very long debugging i found that it was caused by the 'with' parameter.
I found that if you used withOnShow with function which just returns the viewmodel it would work in Internet Explorer.

I do not know if you can fix it, but maybe add a line in the documentation that you should use the withOnShow for supporting old internet explorer.

@finnsson
Owner

I know there are (used to be?) some problems with knockout and handling new contexts (i.e. using with for pager.js). Haven't had time to see if they've solved the problems in 3.0. I'll take a look at the applyBindingsToDescendants for knockout 3 and see if I can solve this problem now.

@kevinsimper kevinsimper closed this Mar 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment