Closed pip8786 closed 2 years ago
<IKImage lqip={{ active: true }} {...other} /> works fine but if you do <IKImage lqip={{ active: false }} {...other} /> the image never loads. The workaround is to make an object that is undefined:
<IKImage lqip={{ active: true }} {...other} />
<IKImage lqip={{ active: false }} {...other} />
let lqip: LQIP | undefined = { active: true }; if (media.type === MediaType.Video) { path += "/ik-thumbnail.jpg"; lqip = undefined; } return ( <IKImage lqip={lqip} {...other} />
Fixed in version 2.0.0
<IKImage lqip={{ active: true }} {...other} />
works fine but if you do<IKImage lqip={{ active: false }} {...other} />
the image never loads. The workaround is to make an object that is undefined: