Skip to content

Allow to opt-out of PositionGhostAbsolutely for IOS #2440

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

Open
oemer-aran opened this issue Apr 16, 2025 · 0 comments
Open

Allow to opt-out of PositionGhostAbsolutely for IOS #2440

oemer-aran opened this issue Apr 16, 2025 · 0 comments

Comments

@oemer-aran
Copy link

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' })
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

1 participant