Skip to content

"Copy Image" to clipboard no working in Chrome/Edge. (But correct in IE). #675

Open
@scottieGGGG

Description

What version of Lightbox2 you are using?
Found while using v 2.10.0, but confirmed on package's website using latest.

Which browsers and operating systems have you seen the issue on?
Windows 10
Chrome 78.0.3904.97
Edge Beta Version 79.0.309.18 (Official build) beta (64-bit)

Note: The bug is NOT reproducible with IE 11 (v11.775.17763.0)

What are the steps to reproduce the bug?
From Chrome / Edge:

  • Navigate to https://lokeshdhakar.com/projects/lightbox2/
  • Click on either of the two "Example Two Individual Images" to open preview gallery / lightbox
  • Right click image and select "Copy Image"
  • Switch to any destination application you wish to paste (ie. Microsoft Paint, MS Word)
  • When attempting to paste, it's discovered the image is not in the clipboard.
    (On Windows, can be confirmed via monitoring with clipboard tool via Windows Key + V)

Do you have link to a live site where the bug is visible? or can you post relevant HTML, CSS, and Javascript?
Visible on package's demo page (https://lokeshdhakar.com/projects/lightbox2/)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions