em
em copied to clipboard
[iOS PWA] clearThought: Does not restore thought
https://user-images.githubusercontent.com/750276/145679066-20aa5dac-2123-4baf-ae86-5ab6f11e565e.MOV
Steps to Reproduce
- Create thought
a
- Close the keyboard
- Activate
clearThought
(→,←) - Close the keyboard
Current Behavior
The caret is removed but the thought is still in the placeholder state.
Though the caret is removed, it is still in edit mode. You can tell this by moving the cursor away and back and seeing the caret restored.
Expected Behavior
The thought should be restored to its normal state and edit mode should be disabled.
Notes
It is possible that the state is not being restored at all, or it may be restored and then overriden.
Try reproducing on desktop with isTouch
hard-coded to true.