deanmcpherson / deanmcpherson/react-native-sortable-listview

Support for horizontal list?

Open
#139 2 comments 7 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
909
Forks
225
PR merge metrics
No merged PRs in 30d

Description

I have a horizontal list to sort, after adding `horizontal={true}` to the sortable list, I observed the sorting behavior is weird, and I still have to drag the item up and down.

Here's example:
````
{
order.splice(e.to, 0, order.splice(e.from, 1)[0])
this.forceUpdate()
}}
horizontal={true} <------ added this to make it horizontal.
renderRow={row => }
/>
````

Any suggested work around? Thanks.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.