Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tisto opened this issue Mar 4, 2024 · 1 comment
Open
Assignees

Comments

@tisto
Copy link
Member

tisto commented Mar 4, 2024

StR

  • as admin
  • create a new page
  • with a grid block with three teasers
  • drag & drop the teasers
  • -> Problem: teasers lose grey background color

URL

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

Screenshot

Screenshot 2024-03-04 at 13 29 46
@iFlameing iFlameing self-assigned this Mar 7, 2024
@iFlameing
Copy link
Member

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants