em icon indicating copy to clipboard operation
em copied to clipboard

[iOS PWA] clearThought: Does not restore thought

Open raineorshine opened this issue 2 years ago • 0 comments

https://user-images.githubusercontent.com/750276/145679066-20aa5dac-2123-4baf-ae86-5ab6f11e565e.MOV

Steps to Reproduce

  1. Create thought a
  2. Close the keyboard
  3. Activate clearThought (→,←)
  4. 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.

raineorshine avatar Dec 11 '21 13:12 raineorshine