deanmcpherson / deanmcpherson/react-native-sortable-listview

TypeError: null is not an object (evaluating 'effect.body[key].constructor')

Open
#156 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

Been stumped on this one. We got the 'pageY undefined' bug fixed from #134 but now, in the same view that was giving the pageY undefined is now giving us this error. The Sortable Listview works great when it's one sortable listview, but when we allow people to move an item from one section to another, we get this crash.

![simulator screen shot - iphone xs - 2018-09-24 at 22 58 02](https://user-images.githubusercontent.com/1703265/45968017-4ce6a980-c04d-11e8-83fb-70e2b5d802e5.png)

Anyone else getting this?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the crash in the React Native sortable ListView when moving an item between sections, then start from the reported expression effect.body[key].constructor and its surrounding stack trace. Done means cross-section moves no longer raise this TypeError while a single sortable list continues to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.