In the image below you can see that the selection is believed to be collapsed on the ProseMirror side, but the UI and the window-selection both properly reflect the expanded selection. Please ignore the text in the images, it's irrelevant.
To reproduce this, delete some content in an expanded selection on Android in Chrome, then undo. Repeat these steps until the issue occurs. Sometimes you may need to re-select the content and try again for this to trigger.
Unknowns:
It may need to be nested list content but I don't believe that to be the case right now.
It may be necessary for the $anchor to be before the $head
In the image below you can see that the selection is believed to be collapsed on the ProseMirror side, but the UI and the
window
-selection both properly reflect the expanded selection. Please ignore the text in the images, it's irrelevant.To reproduce this, delete some content in an expanded selection on Android in Chrome, then undo. Repeat these steps until the issue occurs. Sometimes you may need to re-select the content and try again for this to trigger.
Unknowns:
Android version: 13 Android keyboard: GBoard Browser: Chrome