Skip to content

Draggables within positioned containers #63

@adam77

Description

@adam77

Using position:absolute for draggables doesn't seem to work for elements with positioned ancestors. The element is offset from the cursor by the ancestor's offset.
This happens because the draggables final position is the calculated offset (i.e. event position) plus ancestor offset.

Is this a known issue?
Any particular reason fixed positioning was not used during drag?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions