Skip to content
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

Bug Fix: Remove lazy loading from UCO header #1132

Merged
merged 1 commit into from
Dec 7, 2017

Conversation

tabayomi
Copy link

@tabayomi tabayomi commented Dec 7, 2017

What?

This PR addresses a bug where the logo does not show up on the UCO cart page. This is due to some libraries required for lazy loading not being included on the UCO page.

Tickets / Documentation

STRF-4138

Screenshots (if appropriate)

screen shot 2017-12-06 at 4 10 34 pm

cc @bigcommerce/stencil-team

@bigbot
Copy link

bigbot commented Dec 7, 2017

Autotagging @bigcommerce/stencil-team @davidchin

@@ -17,7 +17,7 @@ <h1 class="is-srOnly">{{lang 'checkout.title'}}</h1>
<h2 class="checkoutHeader-heading">
<a class="checkoutHeader-link" href="{{urls.home}}">
{{#if checkout.header_image}}
<img alt="{{settings.store_logo.title}}" class="checkoutHeader-logo lazyload" id="logoImage" data-sizes="auto" src="{{cdn 'img/loading.svg'}}" data-src="{{ checkout.header_image }}"/>
<img alt="{{settings.store_logo.title}}" class="checkoutHeader-logo" id="logoImage" data-sizes="auto" src="{{ checkout.header_image }}"/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is data-sizes only required for lazy loading?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe so. @BC-EChristensen can you confirm the above.

Copy link
Contributor

@davidchin davidchin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you 👍

@tabayomi tabayomi merged commit 8b626bc into bigcommerce:master Dec 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants