fix(web) Disable draggable on common usage element to avoid trigger drag-n-drop layer (#1330)

This commit is contained in:
Alex 2023-01-15 14:01:10 -06:00 committed by GitHub
parent 036d0556a4
commit eace0af7a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 241 additions and 187 deletions

View file

@ -33,6 +33,7 @@
alt={album.albumName}
class={`object-cover h-full w-full transition-all z-0 rounded-xl duration-300 hover:shadow-lg`}
data-testid="album-image"
draggable="false"
/>
</div>
<div class="h-12 flex flex-col items-start justify-center">

View file

@ -208,6 +208,7 @@
alt={album.albumName}
class="w-[50px] h-[50px] object-cover rounded"
src={`/api/asset/thumbnail/${album.albumThumbnailAssetId}?format=JPEG`}
draggable="false"
/>
</div>

View file

@ -85,6 +85,7 @@
alt={assetId}
class="object-contain h-full transition-all"
loading="lazy"
draggable="false"
/>
{/await}
{/if}