Skip to content

[Bug]: Unable to customise layout animation? #544

@jamesofficer

Description

@jamesofficer

Description

Hey there,

Just wanted to say, fantastic library! I have just one small issue that is being a real bear for my use case.

Maybe I am doing something wrong, but I have spent several hours debugging this and narrowed it down to Sortables.

I would like to customise the layout animation of my sortable. This is not the entering or exit animations, but rather the general layout animation itself.

The videos below show an exaggerated example. But you can see, as my cards slowly close, the layout animation of the Sortables is much faster than the layout animations of my cards, causing unusual overlapping that looks pretty unsightly.

With: itemsLayoutTransitionMode="all"

Simulator.Screen.Recording.-.iPhone.16e.-.2026-02-11.at.22.15.04.mov

With: itemsLayoutTransitionMode="reorder"

Simulator.Screen.Recording.-.iPhone.16e.-.2026-02-11.at.22.14.42.mov

It seems like this is currently the only prop that can be used to turn the layout animation on or off? Ideally I would like to be able to pass my own layout animation that would affect this.

Obviously I can speed up my card animations, but there always seems to be a little bit of overlap, no matter what speed I use.

Appreciate any help, and again thanks for the awesome library!

Steps to reproduce

Code snippet, Snack or GitHub repository link

React Native Sortables version

1.9.4

Reanimated version

4.2.1

React Native Gesture Handler version

2.28.0

React Native version

0.81.5

Platforms

iOS

Architecture

None

Workflow

None

Device

No response

Acknowledgements

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions