Add css pointer-events none method and support picture tags

Created on 23 July 2021, about 3 years ago
Updated 16 November 2023, 11 months ago

Problem/Motivation

  • When img tags are inside picture tags, the transparent gif is placed inside the picture tag, causing the method to fail (you can drag the image to your desktop)
  • when js is disabled, we can fall back to css method "pointer-events: none".

Steps to reproduce

Use responsive images, or place img tag inside a picture tag.

🐛 Bug report
Status

RTBC

Version

2.0

Component

Code

Created by

🇧🇪Belgium kriboogh

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024