You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When using Slate on Android. If toggles a mark (e.g., Bold) while the selection is collapsed and then attempts to type, the cursor position breaks and the Android soft keyboard is immediately dismissed. However, if the user highlights an existing piece of text, applies the mark, and then continues typing, the issue does not occur.
I have attached a screen recording demonstrating the exact behavior.
Recording:
20260320-175857.mp4
Steps to reproduce
Open a Slate editor on an Android
Focus the editor (Selection must be collapsed).
Toggle a mark (e.g., Bold).
Type any character.
Expected behavior:
The soft keyboard should remain open.
Actual behavior:
The soft keyboard is instantly dismissed.
Description
When using Slate on Android. If toggles a mark (e.g., Bold) while the selection is collapsed and then attempts to type, the cursor position breaks and the Android soft keyboard is immediately dismissed. However, if the user highlights an existing piece of text, applies the mark, and then continues typing, the issue does not occur.
I have attached a screen recording demonstrating the exact behavior.
Recording:
20260320-175857.mp4
Steps to reproduce
Expected behavior:
The soft keyboard should remain open.
Actual behavior:
The soft keyboard is instantly dismissed.
Environment:
OS: Android 16 (Pixel 9a Emulator)
Slate Version: latest?I used the official sample page for testing. https://www.slatejs.org/examples
Keyboard: Default Android Keyboard