ianstormtaylor / slate

A completely customizable framework for building rich text editors. (Currently in beta.)
http://slatejs.org
MIT License
29.6k stars 3.23k forks source link

Selecting an inline void element in Android platform doesn't evoke the keyboard #5183

Open YaoKaiLun opened 1 year ago

YaoKaiLun commented 1 year ago

Description Selecting an inline void element in Android platform doesn't evoke the keyboard, but works at iOS.

Recording Android:

https://user-images.githubusercontent.com/11460856/200246609-869faf71-9984-436e-a1df-e997a6d13488.mp4

iOS

https://user-images.githubusercontent.com/11460856/200246704-a683ec3f-f88d-4a23-a75c-84a5516dffed.mp4

Sandbox slate mentions example

Steps To reproduce the behavior:

  1. Click on a mention element
  2. See error

Expectation Click on a mention element in Android platform the keyboard should evoke as iOS does.

Environment

u373693041 commented 1 month ago

Is there any solution to this problem? When the selection is on the inline void, it can also cause the keyboard to collapse