Skip to content

Instantly share code, notes, and snippets.

@koo6357
Created September 1, 2020 04:53
Show Gist options
  • Save koo6357/98ffe04e8fbd2a8564bb1dc5f34bf0f5 to your computer and use it in GitHub Desktop.
Save koo6357/98ffe04e8fbd2a8564bb1dc5f34bf0f5 to your computer and use it in GitHub Desktop.
[BUG] viewport 밖 컨텐츠의 background-image가 렌더링 되지 않는 현상.
성능을 위한 것으로 예측되어 버그는 아닌것같지만..
QA에 따라 버그가 아닐수도 있다.
브라우저가 viewport밖의 이미지는 렌더링을 나중에 하는것같다.
상품을 가로 스크롤 할경우 이미지가 잠시지만 공백으로 뜨는 현상을 간헐적으로 보여주게 된다.
이현상을 방지하기 위해선 상품이미지는 내부 아이콘혹은 링크가 복잡할경우라도 img태그를 사용한다.
img태그도 정말 간헐적으로 발생.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment