You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading the B2C page layout to the latest version, we encountered an issue where SVG images are unexpectedly invoked and appear in the network requests, even though there are no console or type errors. This behavior occurs on page load, and these SVGs seem to be loading unnecessarily, impacting performance.
We have tried to address the issue by commenting out background images in the CSS and locally managing the images, but this would impact existing functionality. As of now, the exact cause behind this sudden invocation of SVGs after the upgrade remains unclear, and we need to investigate further.
To Reproduce
Steps to reproduce the behavior:
Upgrade the B2C page layout to the latest version.
Load the page in the browser and open developer tools to monitor network requests.
Observe the SVG images being loaded unexpectedly, despite no direct references in the UI code.
Expected behavior
SVG images should only load when explicitly called or referenced within the UI logic. No unexpected network requests for SVG images should be triggered on page load.
Screenshots
Additional context
We did not encounter this issue prior to the B2C page layout version upgrade. The issue likely stems from changes in the way the layout or scripts handle image loading, possibly involving background image calls in the CSS. Further investigation is needed to determine why these SVG images are being triggered unnecessarily
The text was updated successfully, but these errors were encountered:
Describe the bug
After upgrading the B2C page layout to the latest version, we encountered an issue where SVG images are unexpectedly invoked and appear in the network requests, even though there are no console or type errors. This behavior occurs on page load, and these SVGs seem to be loading unnecessarily, impacting performance.
We have tried to address the issue by commenting out background images in the CSS and locally managing the images, but this would impact existing functionality. As of now, the exact cause behind this sudden invocation of SVGs after the upgrade remains unclear, and we need to investigate further.
To Reproduce
Steps to reproduce the behavior:
Upgrade the B2C page layout to the latest version.
Load the page in the browser and open developer tools to monitor network requests.
Observe the SVG images being loaded unexpectedly, despite no direct references in the UI code.
Expected behavior
SVG images should only load when explicitly called or referenced within the UI logic. No unexpected network requests for SVG images should be triggered on page load.
Screenshots
Additional context
We did not encounter this issue prior to the B2C page layout version upgrade. The issue likely stems from changes in the way the layout or scripts handle image loading, possibly involving background image calls in the CSS. Further investigation is needed to determine why these SVG images are being triggered unnecessarily
The text was updated successfully, but these errors were encountered: