Skip to content

Implement Configurable Theme Inheritance for Dragged Items #8165

@tobiu

Description

@tobiu

When dragging items between different browser windows (apps) that may have different themes (e.g., Dark Mode vs Light Mode), we need a configurable strategy for how the dragged item appears.

Goal:
Implement a themeMode config (e.g., 'adapt' | 'retain') on the Draggable/SortZone definition.

  • Adapt: The item temporarily or permanently adopts the CSS variables/theme of the target window context.
  • Retain: The item enforces its original theme (useful for "stickers" or branding).

Current Behavior:
The proxy clones the DOM/VDOM, likely carrying over classes, but if CSS variables are missing in the target, it may look broken.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions