ArthurClemens / polythene

Material Design component library for Mithril and React
590 stars 43 forks source link

Card media does not always show image #83

Closed ArthurClemens closed 5 years ago

ArthurClemens commented 5 years ago

Expected behavior: Media image is displayed on the card every time the page reloads

Actual Result: Image loads (sometimes)on first load, subsequent refresh displays card WITHOUT image

Test flems

I only see it happen sometimes, which makes it hard to debug. I also see it in Chrome, not in Safari or Firefox.

This is a workaround to make the image visible:

content: m("img", {
  style: {
    opacity: 1
  },
  src: landscapeImgUrl
})
ArthurClemens commented 5 years ago

Fixed in 1.7.0