Skip to content

Keyboard key does not depress when ScrollView is scrolling #13075

Closed
@grundmanise

Description

@grundmanise

Description

When any keyboard key is pressed while ScrollView scrolls (swipe/pan/momentum) a key won't depress until:

  1. you press another key (the pressed key will get stuck instead of the prev. key);
  2. ScrollView stops scrolling'

This gif shows this bug when using FlatList:

<KeyboardAvoidingView ...>
   <FlatList ...>
   <TextInput ...>
</KeyboardAvoidingView>

flatlist_scrollview_keyboard_bug

Reproduction

  1. Focus on the input to open a keyboard
  2. Scroll the ScrollView
  3. While there is a momentum scrolling press any keyboard key
  4. You'll see this bug
  5. You can pan/scroll the ScrollView infinitely and the key won't depress until the ScrollView stops scrolling

https://sketch.expo.io/B1JIYaynx

Additional Information

  • React Native version: 0.43
  • Platform: iOS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions