Why aren't the ScrollView functionalities
available for ListView?
Is there a reason why they aren't available? (or are they simply not done yet?)
They should be... Have you tried them?
I'm using React-native 0.8.0. Did it come after that?
I don't think so.. but we support only the latest code so you may want to try that.
I can't seem to get it working.
Would love it if someone could confirm that it works or doesn't work.
My bad. I got it all working (was getting pretty tired yesterday and didn't notice I was using the main.jsbundle :< )
Adding this to the ListView documentation would be nice though. Thanks for the help @ide
@gudmundurmar @ide I've added keyboardShouldPersistTaps="always" to my ListView. However, I'm experiencing the need for the user to tap twice when selecting an item in the list – one to close the keyboard and one to press the ListView row which houses a TouchableHighlight.
I'm using a TextInput for the search box and the ListView houses the results. I'd like the user to be able to choose an item in the list without having to close the keyboard first.
I must be missing something 😐
Most helpful comment
@gudmundurmar @ide I've added
keyboardShouldPersistTaps="always"to myListView. However, I'm experiencing the need for the user to tap twice when selecting an item in the list – one to close the keyboard and one to press theListViewrow which houses aTouchableHighlight.I'm using a
TextInputfor the search box and theListViewhouses the results. I'd like the user to be able to choose an item in the list without having to close the keyboard first.I must be missing something 😐