How to position a Popover component based on the user’s caret position?

How to position a Popover component based on the user’s caret position?

File not found.