Skip to content

Allow to opt-out of PositionGhostAbsolutely for IOS #2440

Open
@oemer-aran

Description

@oemer-aran

Problem Statement

Image

I am using an overflow-hidden sortable container, which works perfectly fine on all devices, except IOS. I digged a bit into the code and saw, that only for IOS SortableJs is using position: absolute. I don't know why this is the case and there are no comments. I would like to opt-out of this behaviour and use position: fixed instead, so my ghost card wont be clipped.

Here is the code part where PositionGhostAbsolutely is set:

PositionGhostAbsolutely = IOS,

Proposed solution:

new Sortable(container, { position: 'fixed' })

// or

new Sortable(container, { iosPosition: 'fixed' })

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions