kitconcept / volto-light-theme

https://light-theme.kitconcept.io
11 stars 8 forks source link

Teaser-Grid-Block loses background color CSS when dragging & dropping #359

Open tisto opened 6 months ago

tisto commented 6 months ago

StR

URL

https://light-theme.kitconcept.io/

Screenshot

Screenshot 2024-03-04 at 13 29 46
iFlameing commented 6 months ago

@sneridagh I found out the problem. When you start dragging a whole draggable element is appended to body so whatever CSS class of parent is not applied.

example of not applied CSS

.has-background-grey teaser-iteme-default {
background: white:
}

since we don't know have the parent for dragging component we lose this CSS implementation. This is the original problem.