deanmcpherson / deanmcpherson/react-native-sortable-listview

Adapting library for web

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

Description

When i am trying to use this library on web (through [react-native-web](https://github.com/necolas/react-native-web)) it throws:

> index.js:389 Uncaught TypeError: Cannot read property 'easeInEaseOut' of undefined

Because rn-web has no LayoutAnimation. So I've forked and fixed it here: https://github.com/cherniv/react-native-sortable-listview/commit/143c3bf164abaff78908727590816a1a923cfa7c

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting index.js around line 389, where the LayoutAnimation error occurs, and compare the behavior with the referenced react-native-web limitation. Review commit 143c3bf164abaff78908727590816a1a923cfa7c for the reported forked fix. Done means the library can be used through react-native-web without the easeInEaseOut exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
frontend, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.