Skip to content

Interactive Keyboard - fast swipe can cause UI elements be under keyboard using linear interpolator #286

Open
@kirillzyusko

Description

@kirillzyusko

Describe the bug

Fast swipe can cause UI elements be under keyboard using linear interpolator

Code snippet

Reproducible in example app.

Repo for reproducing

Reproducible in example app.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Interactive Keyboard (Android) screen
  2. Click on TextInput
  3. Do really fast gesture down (maybe you need to make slight gesture up before)

Expected behavior

Messages should be in the same position as they were in the beginning of the gesture.

Screenshots

fast-swipe.mp4

Smartphone (please complete the following information):

  • Desktop OS: MacOS 14.1
  • Device: Pixel 7 Pro
  • OS: Android 14
  • RN version: 0.72.4
  • RN architecture: old
  • JS engine: Hermes
  • Library version: 1.9.4

Additional context

It seems like onScroll may get event first and because of that ScrollView will be slightly scrolled.

Metadata

Metadata

Assignees

Labels

repro providedIssue contains reproduction repository/code👆 interactive keyboardAnything related to interactive keyboard dismissing🤖 androidAndroid specific

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions