Hi,
I just stumbled over a bug in views. I created a view with an image field, that is formatted as a responsive image. The corresponding preset uses "Select multiple image styles and use the sizes attribute." with the size attribute "(min-width: 990px) 190px, 115px".
If I now rewrite the image field in the view to, for example, {{ field_image}} <div class='overlay'></div>, it results in the size attribute being written as "990px) 190px, 115px". So the "min-width" gets trimmed.
Didn't find an existing issue, so I thought i let you know.
Comments
Comment #2
Belshi commentedComment #3
salvor_hardin commentedI confirm this bug : this is the second relative to Views and Responsive Image. The first has a fix : https://www.drupal.org/node/2687479
Any idea for this one ?
thanks
Comment #4
salvor_hardin commentedComment #5
salvor_hardin commentedSolved in 8.2.2
Comment #7
leovw commentedHi - This doesn't seem to be working with Drupal 8.2.5. Attached is a screenshot showing the problem