react-native-sortable-listview icon indicating copy to clipboard operation
react-native-sortable-listview copied to clipboard

getScrollResponder is not a function

Open femiveys opened this issue 7 years ago • 2 comments

When running a snapshot test wit jest on a component using the SortableListView, I get following error:

node_modules/react-native-sortable-listview/index.js:186
_this3.scrollResponder=_this3.refs.list.getScrollResponder();
                                        ^
TypeError: _this3.refs.list.getScrollResponder is not a function
    at null._onTimeout (node_modules/react-native-sortable-listview/index.js:186:41)
    at Timer.listOnTimeout (timers.js:92:15)
npm ERR! Test failed.  See above for more details.

When I look into the refs.list, indeed the getScrollResponder() doesn't exits.

I run react native 0.42.3 And version 0.2.2 of this module

Is there something special I should do with snapshot tests? I followed the example.

femiveys avatar Apr 05 '17 10:04 femiveys

Same here. any news?

pgonzalez-santiago avatar Jun 06 '17 09:06 pgonzalez-santiago

No, I have not been able to solve this

femiveys avatar Jun 13 '17 19:06 femiveys