Is there a way to get left coordinate of a character?

coordsAt(pos, 1) works in most cases, but if widget is added with side=1 coordsAtPos always returns left coordinate of widget’s boundary instead of the letter after the widget.

This is needed, for example, to position block cursor over the character.
The issue can be seen at https://raw.githack.com/replit/codemirror-vim/widget-test/dev/web-demo.html by positioning cursor after a widget with text 1

There is now, as of this patch. Does that look like the interface you need?

Thank you, this covers my usecase.

Released this as part of 6.16.0