Skip to content

b-img-lazy blank-src is not loaded #6470

@reinoldus

Description

@reinoldus

Describe the bug

When setting blank-src in the b-img-lazy component that image is never loaded

Steps to reproduce the bug

  1. Go to https://codesandbox.io/s/musing-cohen-o73n9?file=/App.vue:380-414
  2. Load page (maybe with slow 3g)

Expected behavior

I expect b-img-lazy to load the blank src and swap with the original src once downloaded.

Versions

Libraries:

  • BootstrapVue: 2.21.2
  • Bootstrap: 4.5.3
  • Vue: 2.6.12

Environment:

  • Device: Desktop
  • OS: Ubuntu 20.04
  • Browser: Chromium
  • Version: 88.0.4324.182

Demo link

https://codesandbox.io/s/musing-cohen-o73n9?file=/App.vue:380-414

Gif showing that there is only 1 request:
Peek 2021-02-24 17-43

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions