createPopupPositionProvider

Creates a PopupPositionProvider that positions a suggestion popup below (or above if constrained) the cursor of this AutocompleteMatch.

The popup position automatically prevents overflowing the window boundaries and accounts for viewport scrolling.

Parameters

offset

Additional pixel offset applied to the popup position.