shadow-dom example features backwards text typing in Firefox
Author: ottworksCreated May 20, 2021Updated Mar 25, 2026
Labelsbug⚑ cross platform
Description The cursor is being placed at the beginning of the text area after every character typed.
Recording
Firefox:

Sandbox https://www.slatejs.org/examples/shadow-dom
Steps To reproduce the behavior:
- Go to https://www.slatejs.org/examples/shadow-dom on Firefox
- Click anywhere in the editor
- Type anything
Expectation
Chrome:

Environment
- Slate Version: 0.63.0
- Operating System: Windows 10
- Browser: Firefox 88.0.1
Source: ianstormtaylor/slate