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
I used GridLayout to package components containing image label items. I suddenly found that these image items could not be saved by right clicking on the computer or long pressing on the phone. Here's why. But when my outermost is replaced with a normal
, the image can be recognized and saved normally, so I guess it is the effect, I use <img
loading="lazy"
alt="layout-image"
src={layoutImage! }
className="object-cover w-full h-full”
onTouchStart={(e) => e.preventDefault()}
onContextMenu={(e) => e.preventDefault()}
/> Still invalid, what should I do
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I used GridLayout to package components containing image label items. I suddenly found that these image items could not be saved by right clicking on the computer or long pressing on the phone. Here's why. But when my outermost is replaced with a normal
loading="lazy"
alt="layout-image"
src={layoutImage! }
className="object-cover w-full h-full”
onTouchStart={(e) => e.preventDefault()}
onContextMenu={(e) => e.preventDefault()}
/> Still invalid, what should I do
Beta Was this translation helpful? Give feedback.
All reactions