The NgOptimizedImage directive. Long path to the image triggers NG02952 warning. #55869
Labels
area: common
Issues related to APIs in the @angular/common package
common: image directive
needs reproduction
This issue needs a reproduction in order for the team to investigate further
Milestone
Which @angular/* package(s) are the source of the bug?
Don't known / other
Is this a regression?
Yes
Description
When I use this part of code with a long path to the image (
/assets/img/path1/path2/imgName.png
):I got a warning (beloved)
But when I copy this image to the short path (
/assets/img/imgName.png
) then I don't see this warning anymore:I have
width
,height
andposition: relative
for the div element where tag img exists. Ang img hasfill
property.Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
Please provide the environment you discovered this bug in (run
ng version
)Anything else?
No response
The text was updated successfully, but these errors were encountered: