I want to prevent dragging of ghost image.
Normal way:
<img draggable="false">
But I don't know how to set it to <Image />
component
Image component docs: https://nextjs.org/docs/api-reference/next/image
Edit:
<Image draggable="false"/>
works, but for Firefox, we need add the same atrribute to parent <a>
and in CSS it can't be user-select: none
for img
and div
It's still difference between Chrome and Firefox.