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

Page keeps scrolling up on every single character typed in iPhone for Persian language (maybe for RTL languages) after the first word #5639

Open
hosseinitabar opened this issue Apr 25, 2024 · 0 comments
Labels

Comments

@hosseinitabar
Copy link

Description
For every single character typed in the iPhone, the entire page keeps scrolling upwards.

Recording
https://github.com/ianstormtaylor/slate/assets/81751123/79fc24fc-fac6-426b-9f19-aa0c4a6e1a17

Sandbox
I can't use the sandbox on my iPhone. It crashes. I could not create an MRE for this.

Steps
To reproduce the behavior:

I could not create the MRE.

Expectation
It's good to scroll the cursor into the view, or even into the center of the viewport. But it's not good to scroll the RTE out of the view while typing.

Environment

  • Slate Version: 0.102.0
  • Operating System: Ubuntu Ubuntu 22.04.4 LTS
  • Browser: Safari:

Context
I tested it with the English language and nothing was out of the ordinary. For the first word of a line, it does not scroll. But after one space, it keeps scrolling upwards for each character.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant