У меня есть scrollView, который содержит слишком много textInput. Все работает, пока я не добавлю textAlign: 'right'
в стили TextInput. После этого ScrollView не отвечает на прокрутку. Эта проблема только что возникла в Android, в iOS она работает как положено. Я добавил простой код на snack.expo.
render() {
let TextInput2 = (
<TextInput
style={{
flex: 1,
textAlign: 'right',
height: 50
}}
placeholder="placeholder"
/>
);
return (
<ScrollView>
{TextInput2}
{TextInput2}
{TextInput2}
{TextInput2}
{TextInput2}
{TextInput2}
{TextInput2}
{TextInput2}
{TextInput2}
{TextInput2}
{TextInput2}
{TextInput2}
{TextInput2}
{TextInput2}
</ScrollView>
);
}