Problem Statement
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' })
Problem Statement
I am using an
overflow-hiddensortable container, which works perfectly fine on all devices, exceptIOS. I digged a bit into the code and saw, that only for IOS SortableJs is usingposition: 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 useposition: fixedinstead, so my ghost card wont be clipped.Here is the code part where
PositionGhostAbsolutelyis set:Sortable/src/Sortable.js
Line 145 in ddd0597
Proposed solution: