New to Telerik UI for Blazor? Download free 30-day trial

Popover Position and Collision Settings

This article outlines the available settings which enable you to control the position of the Popover based on its anchor and dictate how the component responds to insufficient screen space.


To customize how the popover aligns with its anchor element, use the Position parameter and set its value to a member of the PopoverPosition enum:

  • Top (default value)
  • Bottom
  • Left
  • Right

The example below lets you customize the available Position parameters and see how they affect the Popover component.


To define how the Popover reacts to insufficient screen space, set the Collision parameter to a member of the PopoverCollision enum:

  • Fit—The Popover will shift until it is fully visible on the screen.
  • Flip—The Popover will render on the other side of the anchor.


The following example lets you experiment with the available settings that control the position and collision behavior of the Popover. It starts with the default component behavior.

        Popover Position
        <TelerikDropDownList @bind-Value="@PopoverPositionType" Data="@PopoverPositions" Width="200px" />
        Popover Collision Type
        <TelerikDropDownList @bind-Value="@PopoverCollisionType" Data="@PopoverCollisionTypes" Width="200px" />

<TelerikPopover @ref="@PopoverRef"
        I am a Telerik Popover
        <TelerikButton OnClick="@(() => PopoverRef.Hide())" Icon="@SvgIcon.X">Close</TelerikButton>

<div class="popover-target styled-container" @onclick="@(_ => PopoverRef.Show())">
    Popover target. Click in the element to show the Popover.

    private TelerikPopover PopoverRef { get; set; }
    private PopoverCollision PopoverCollisionType { get; set; } = PopoverCollision.Fit;
    private PopoverPosition PopoverPositionType { get; set; } = PopoverPosition.Top;

    private List<PopoverPosition> PopoverPositions { get; set; } = new List<PopoverPosition>()

    private List<PopoverCollision> PopoverCollisionTypes { get; set; } = new List<PopoverCollision>()

    .styled-container {
        width: 300px;
        height: 50px;
        background-color: yellowgreen;
        margin-top: 20px;
In this article