react-sortablejs icon indicating copy to clipboard operation
react-sortablejs copied to clipboard

[BUG] Fail getting image "src" property of Image Component from Next.js

Open Yanger-Rai opened this issue 2 years ago • 1 comments

Describe the bug Unable to sort images when using Image component from Next.js but works perfectly on regular "img" tag. The error happens while trying to sort the image on mouse click.

To Reproduce Steps to reproduce the behavior: The code: Screenshot 2023-06-14 at 12 56 01 AM

Expected behavior It should allow sorting of images similar to img tag.

I know using img tag is a workaround but I wish to use Image component for the optimisation it provides on the go.

Information Versions - Look in your package.json for this information: "next": "13.4.4", "react": "18.2.0", "react-sortablejs": "^6.1.4", "sortablejs": "^1.15.0"

Please provide examples, screenshots or a code sandbox for faster resolution times. Error screen shot Screenshot 2023-06-14 at 12 34 45 AM

Yanger-Rai avatar Jun 13 '23 19:06 Yanger-Rai

Any update on this please?

Yanger-Rai avatar Jun 19 '23 18:06 Yanger-Rai