Skip to content

I can't scroll in child ScrollView when keyboard is open on iOS #21439

Description

@ibrahimsakar

Sample Code:

import React, { Component } from 'react';
import {View, ScrollView, Text, TextInput} from 'react-native';

export default class NestedScrollView extends Component {
  constructor(props) {
    super(props);
    this.state = {
    };
  }

  render() {
    return (
      <ScrollView style={{height:400, backgroundColor:'blue'}}>
        <View style={{width:200,height:100}}>
        <TextInput 
                placeholderTextColor={'#fff'}
                placeholder={'openkeyboard'}
            />
            <ScrollView style={{backgroundColor:'red'}}>
                <View style={{width:100}}>
                    <Text>test1</Text>
                    <Text>test2</Text>
                    <Text>test3</Text>
                    <Text>test4</Text>
                    <Text>test5</Text>
                    <Text>test6</Text>
                    <Text>test7</Text>
                    <Text>test8</Text>
                    <Text>test9</Text>
                    <Text>test0</Text>
                    <Text>test1</Text>
                </View>
            </ScrollView>
        </View>
      </ScrollView>
    );
  }
}

Activity

  1. changed the title [-]When keyboard is open I can't scroll in second child ScrollView[/-] [+]I can't scroll in second child ScrollView when keyboard is open [/+] on Oct 1, 2018
  2. changed the title [-]I can't scroll in second child ScrollView when keyboard is open [/-] [+]I can't scroll in second child ScrollView when keyboard is open on iOS[/+] on Oct 1, 2018
  3. react-native-bot commented on Oct 1, 2018

    @react-native-bot
    Collaborator

    We are automatically closing this issue because it does not appear to follow any of the provided issue templates.

    Please make use of the bug report template to let us know about a reproducible bug or regression in the core React Native library.

    If you'd like to propose a change or discuss a feature request, there is a repository dedicated to Discussions and Proposals you may use for this purpose.

  4. changed the title [-]I can't scroll in second child ScrollView when keyboard is open on iOS[/-] [+]I can't scroll in child ScrollView when keyboard is open on iOS[/+] on Oct 11, 2018
  5. locked as resolved and limited conversation to collaborators on Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Platform: iOSiOS applications.Ran CommandsOne of our bots successfully processed a command.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions