Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kirillzyusko opened this issue Dec 1, 2023 · 0 comments · May be fixed by #298
Assignees
Labels
🤖 android Android specific 👆 interactive keyboard Anything related to interactive keyboard dismissing

Comments

@kirillzyusko
Copy link
Owner

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.

@kirillzyusko kirillzyusko added the 🤖 android Android specific label Dec 1, 2023
@kirillzyusko kirillzyusko self-assigned this Dec 1, 2023
@kirillzyusko kirillzyusko added the 👆 interactive keyboard Anything related to interactive keyboard dismissing label Dec 1, 2023
@kirillzyusko kirillzyusko linked a pull request Dec 15, 2023 that will close this issue
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖 android Android specific 👆 interactive keyboard Anything related to interactive keyboard dismissing
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant