Skip to content
This repository was archived by the owner on Jun 18, 2018. It is now read-only.
This repository was archived by the owner on Jun 18, 2018. It is now read-only.

Preview position wrong with absolute positioned elements inside DragSource #61

@danielbrodin

Description

@danielbrodin

Hey,

I have an element that I'm dragging around and it works great by itself, but that element could have an icon attached to it with position: absolute; left: -24px; which breaks the positioning.

This html5-backend doesn't care about the icon which it shouldn't, but the native drag and drop api does, since it includes the icon in the preview rendering, so when the html5-backend tries to fix the position it instead breaks it for me.

Is there a way for me to kinda hijack the positioning function and just add a couple of pixels to the x coordinate that it creates?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions