The SelectionPopover appears near highlighted text — its position prop takes viewport-relative coordinates derived from Range.getClientRects(), not local container offsets. Select any portion of this
paragraph to see it appear near your selection.
Clicking the comment icon expands the composer. Submit with the send button or Cmd/Ctrl+Enter. Clicking outside the popover closes it and resets the popover state.