TextLayoutResult.getOffsetForPosition() return bad values in Compose Desktop
I am trying to setup a composable that gives me the actual hovered character of its text. To do this, initially I configured hover ability by defining the onPointerEvent
modifier for a standard Text
composable (and defined its type to PointerEventType.Move
as well).