-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image on movie detail page does not get updated when switching to another movie #202
Comments
Is this also happening in the list page? |
I don't think so. |
The problem is related to angular as far as the topic I have been following for the past few days (angular/angular#47813) the problem has been solved in angular version 16.2. To solve the problem while keeping the current libraries you need to upgrade the project to the new version. THE RELEASE DATE OF THE VERSION IS 24/07/2023 |
Correct @francesco-buscicchio, I saw the fix too. Waiting for the release to have something cleaner! |
I too will wait for the new problem resolution and possibly evaluate what happens to the dependencies when I install the new version. If everything remains normal I will try to make a pull request for the project. Hopefully everything will be fine |
Could we write a user-flow for it? The setup is now completely refactored and good DX. |
@francesco-buscicchio can you let me know if you are taking care of removing the hack + user flow? |
As for removing the hack and defining the user flow, I would suggest waiting for the release of Angular 16.2, scheduled for July 24, 2023. Once Angular 16.2 is available, we could create a separate branch and test it to make sure everything is working properly. I will personally take care of this task as soon as Angular 16.2 is released, and I will have a few hours available to run the necessary tests and ensure that everything is in order. @jogelin @BioPhoton |
Test Case:
Cause:
ngSrc
does not allow updating the input dynamically. An error is displayed in the console:Solution:
There is an open issue angular/angular#47813
The alternatives are:
NgOptimizedImage
again (see example in the angular issue above)<ng-template>
+<ng-container>
OR a directive like https://github.com/ngehlert/ngx-rerender/blob/main/projects/ngx-rerender/src/lib/ngx-rerender.directive.tsngSrc
because it is for static imageI can make the PR if needed!
The text was updated successfully, but these errors were encountered: