facebook / react-native

A framework for building native applications using React
https://reactnative.dev
MIT License
119.34k stars 24.36k forks source link

SwipeableListView not autoclosing #9327

Closed KishPatel1996 closed 8 years ago

KishPatel1996 commented 8 years ago

Implemented a simple SwipeableListView sith a swipedistance of 100 and the following renderquickaction function.


_renderQuickActionButtons: function(rowData, sectionID, rowID) {

    return (<View style={{flex: 1, flexDirection: 'row',  }}>
    <View style={{flex:1}} />
    <View style={{width: 100, backgroundColor: 'blue'}}/>
    </View>);
  },

None of the rows are closing :( Any idea what is causing this/how to fix it?

rmevans9 commented 8 years ago

@facebook-github-bot stack-overflow

ghost commented 8 years ago

Hey @KishPatel1996 and thanks for posting this! @rmevans9 tells me this issue looks like a question that would be best asked on StackOverflow. StackOverflow is amazing for Q&A: it has a reputation system, voting, the ability to mark a question as answered. Because of the reputation system it is likely the community will see and answer your question there. This also helps us use the GitHub bug tracker for bugs only. Will close this as this is really a question that should be asked on SO.

rmevans9 commented 8 years ago

Hey @KishPatel1996! It looks like this is a general question on the usage of React Native. Tagging this as a question for Stack Overflow and closing. If you find that your issue is not actually a code issue with your usage but rather a bug in React Native post back here and we can get this reopened.