You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
users can’t download images by right clicking since right click target is the image treatment div and not the img tag, so the context menu for firefox and safari does not show the save image as or open image in a new window. Also when user tried to print the page, they see a blank and not see the image.
Solution via Stephen Scaff:
Use mix-blend-mode: darken on the img. And will-change:opacity on the wrapping parent.
UPDATE: use pointer-events: none to the ::after pseudo for image-treatment instead of switching to mix-blend-mode
The text was updated successfully, but these errors were encountered:
In viewitem, we found users complaining about mix-blend-mode not working well in dark mode. so i feel like you can simply add the pointer-events: none to the ::after pseudo for image-treatment instead of switching to mix-blend-mode. Anyways you would have run into performance issues with over-using will-change: opacity
So, we're getting rid of this in lieu of pointer-events: none; ? These are not related so I'm trying to figure out why they are mentioned in relation to each other.
From Prem Periyasamy:
Solution via Stephen Scaff:UPDATE: use pointer-events: none to the ::after pseudo for image-treatment instead of switching to mix-blend-mode
The text was updated successfully, but these errors were encountered: