ngx-image-zoom
ngx-image-zoom copied to clipboard
Support on ChangeDetection-Strategy OnPush
Could also possibly fix https://github.com/wittlock/ngx-image-zoom/issues/36
We have ngx-image-zoom embedded in an OnPush component and apparently this is not supported (at least it stopped working with Ivy / NG9).
This is a work in progress, open for discussion. I did not dive deep into the code, just needed a quick fix for our app.
I published this branch on NPM as @zeit-dev/ngx-image-zoom
, v0.6.1 if anybody would like to try.
Cheers
Marian
PS: To replace the original ngx-image-zoom
with @zeit-dev/ngx-image-zoom
don't forget to remap the path in tsconfig.json
:
{
"compilerOptions": {
...,
"paths": {
"ngx-image-zoom": ["node_modules/@zeit-dev/ngx-image-zoom"]
}
},
...
}
Any plans on working further on this one?
Closing this due to lack of progress. Feel free to open a new one if interest resurfaces.