Description
The editor crashes when "enter" is pressed on Android, and editor is placed inside a ShadowDOM.
Recording

Sandbox
No need for a sandbox, the error can be reproduced in Shadow DOM example
Steps
To reproduce the behavior:
- Go to https://www.slatejs.org/examples/shadow-dom
- Choose an Android phone in responsive mode in browser devtools
- Focus the editor
- Press "enter"
- See error "Cannot resolve a Slate node"
Note: Same thing happens on a real Android phone, this is just easier to reproduce.
Expectation
User should be able to type regardless of the platform used.
Environment
- Slate Version: 0.118.1
- Operating System: Android
- Browser: Chrome
Context
The problem is that some of the methods used to handle inputs on Android use native Web API, that doesn't pierce through Shadow DOM boundary, hence DOM elements aren't found.