Centralise styling for Sortable DragImage

Created on 7 June 2024, 6 months ago
Updated 25 June 2024, 5 months ago

Problem/Motivation

Dragging from the preview, from the layout tree and from the component list in the primary panel all produces a different result for the DragImage (the little ghost version of what you are dragging that is attached to the cursor).

By default the DragImage is a semi-transparent clone of the HTML element you are dragging but in the preview we don't want this behaviour because the items you are dragging could potentially be huge chunks of the page.

Proposed resolution

Centralising the creation of the DragImage means that we can easily update it to look how we like once we have a more established design. At the moment updating it would require changes in 3 places.

User interface changes

For now just a simple box with the component name or something in it. The objective is to centralise the code not actually finalise the look/feel.

πŸ“Œ Task
Status

Fixed

Component

Page builder

Created by

πŸ‡¬πŸ‡§United Kingdom jessebaker

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024