Cursor jumps visually around a widget with no actual selection change

Found a little issue around widgets and cursors, was able to isolate it from our app’s code, but not sure if it’s on ProseMirror side or browser side

"prosemirror-state": "1.4.4",
"prosemirror-view": "1.41.9",
"prosemirror-model": "1.25.9",

MacOS 26.5.1 (25F80)
Chrome Version 149.0.7827.155 (Official Build) (x86_64)

When there is a node with some text and widget at the end of the node, clicking on the node causes the cursor to briefly appear at the end of the widget, only to immediately jump to the start of the widget.

Minimal reproduction: https://2ck9rn.csb.app/

Could it be related to a Chromium issue mentioned here?

upd: added a gif recording

ProseMirror - widget - cursor jump 2 (2)

This is known, and more or less expected behavior—the native browser response to the mouse click will put the cursor in a position where the editor doesn’t allow it, so it corrects it. But apparently the time between the click and the selectionchange event does give the browser the opportunity to briefly draw the cursor in the wrong place. I don’t think this is a big enough issue to try and work around it.