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

Android device issues include IME problems and inability to focus on void element. #4705

Closed
YasinChan opened this issue Dec 2, 2021 · 2 comments

Comments

@YasinChan
Copy link
Contributor

Description
I found here 'export const Editable = IS_ANDROID ? AndroidEditable : DefaultEditable'. What is the reason for splitting AndroidEditable and DefaultEditable? Some of the issues I found on Android device included that i can't focus on Void Element and had some problem with IME.

Recording

QQ20211202-160907.mp4

Steps

  1. go to https://www.slatejs.org/examples/images
  2. use Chrome DevTools.
  3. select one Android device.

Expectation
Perhaps can provide an initialization options to control whether or not use AndroidEditable in Android device.

Environment

Context
Similar to #4400

@YasinChan
Copy link
Contributor Author

In addition, I tried to force the use of DefaultEditable on Android device, and it worked fine.

@YasinChan
Copy link
Contributor Author

Perhaps can provide an initialization options to control whether or not use AndroidEditable in Android device.

My fault, i can use DefaultEditable instead of Editable by import { DefaultEditable } from 'slate-react';

see here

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

No branches or pull requests

1 participant