#4275·slate

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: image

Sandbox https://www.slatejs.org/examples/shadow-dom

Steps To reproduce the behavior:

  1. Go to https://www.slatejs.org/examples/shadow-dom on Firefox
  2. Click anywhere in the editor
  3. Type anything

Expectation Chrome: image

Environment

  • Slate Version: 0.63.0
  • Operating System: Windows 10
  • Browser: Firefox 88.0.1