Closed GusGusGusGus closed 5 months ago
Can you reproduce the issue in a stackblitz, here is a template for standalone component https://stackblitz.com/edit/ng-gallery-12
Issue happens because of the ng-template when the parent component loads
Ok, I understand that you have solved your issue! closing..
What is the expected behavior?
To load at least one of the images initially.
What is the current behavior?
It's not loading any of the images, only thumbnails. When I click on the thumbnails, the images do load.
What are the steps to reproduce?
I've tried both a normal and a standalone component (current case).
here's my component:
Here's my template:
Which versions are you using for the following packages?
"dependencies": { "@angular/animations": "^17.3.4", "@angular/cdk": "^17.3.4", "@angular/common": "^17.3.4", "@angular/compiler": "^17.3.4", "@angular/core": "^17.3.4", "@angular/forms": "^17.3.4", "@angular/platform-browser": "^17.3.4", "@angular/platform-browser-dynamic": "^17.3.4", "@angular/router": "^17.3.4", "@ng-bootstrap/ng-bootstrap": "^16.0.0", "@popperjs/core": "^2.11.6", "bootstrap": "^5.3.3", "bootswatch": "^5.3.3", "font-awesome": "^4.7.0", "hammerjs": "^2.0.8", "ng-gallery": "^11.0.0", "ngx-bootstrap": "^12.0.0", "ngx-toastr": "^18.0.0", "rxjs": "~7.8.0", "tslib": "^2.3.0", "zone.js": "~0.14.4" }, "devDependencies": { "@angular-devkit/build-angular": "^17.3.4", "@angular/cli": "^17.3.4", "@angular/compiler-cli": "^17.3.4", "@angular/localize": "^17.3.4", "@types/jasmine": "~4.3.0", "jasmine-core": "~4.6.0", "karma": "~6.4.0", "karma-chrome-launcher": "~3.2.0", "karma-coverage": "~2.2.0", "karma-jasmine": "~5.1.0", "karma-jasmine-html-reporter": "~2.1.0", "typescript": "~5.4.5" }