craftcms / cms

Build bespoke content experiences with Craft.
https://craftcms.com
Other
3.22k stars 626 forks source link

[4.x]: Assets in entry can't be reordered #11364

Closed maxfrischknecht closed 2 years ago

maxfrischknecht commented 2 years ago

What happened?

Description

The order of selected assets in an asset field in an entry can no longer be done by drag & drop.

Steps to reproduce

  1. Create an asset field in an entry
  2. Upload at least 2 images
  3. Try to reorder the images with drag & drop

Expected behavior

A point cursor appears and let's the user reorder the images with drag & drop

Actual behavior

The «Enable focal point» dialogue opens. (Maybe this is intended behaviour, but it leaves the question on how to create an order of images).

Craft CMS version

4.0.3

PHP version

8.1.5

Operating system and version

Linux 3.10.0-962.3.2.lve1.5.52.el7.x86_64

Database type and version

MySQL 5.7.37

Image driver and version

Imagick 3.5.1 (ImageMagick 7.1.0-2)

Installed plugins and versions

wsydney76 commented 2 years ago

The images can be moved by clicking on the title and not on the image...

I think (hope) better UI is on the way, e.g. #10763

maxfrischknecht commented 2 years ago

A sweet, so no bug, just new UI. Thx for the tip!

brandonkelly commented 2 years ago

It should have still been possible to drag assets by clicking on their thumbnails. Fixed that for the next release.

brandonkelly commented 2 years ago

Craft 4.0.4 is out now with that fix.