How is your experience with the OutSystems Community?
custom-popover
Reactive icon

Custom Popover

Stable version 1.0.0 (Compatible with OutSystems 11)
Uploaded
 on 19 Nov (13 hours ago)
 by 
0.0
 (0 ratings)
custom-popover

Custom Popover

Documentation
1.0.0


  1. Configure the Placeholders

    Top Placeholder — Trigger

    Add the element that users will click to open or close the popover.

    Examples:

    • Button

    • Icon

    • Text

    • Profile avatar

    • Custom UI element

  2. Bottom Placeholder — Content

    Add the content that should appear when the popover opens.

    Examples:

    • Action buttons

    • Navigation links

    • Information panels

    • Custom forms

    • Other OutSystems widgets

  3. Input Parameters

    ParameterDescriptionDefault
    ExtendedClassAdditional CSS classes for custom styling.Empty
    PositionPreferred popover position (top, bottom, left, or right).Bottom


    Custom Styling

    You can customize the popover by adding your own CSS using the ExtendedClass parameter.

    Example:

    .my-custom-popover .popover-content {
        min-width: 250px;
        padding: 16px;
        border-radius: 8px;
    }

    Set the ExtendedClass parameter to:

    my-custom-popover


    Popover Behavior

    The component automatically handles the following interactions:

    • Clicking the trigger opens the popover.

    • Clicking the same trigger closes it.

    • Clicking outside closes the active popover.

    • Pressing Escape closes the active popover.

    • Opening another popover closes the previously opened one.

    • The popover automatically adjusts its position when necessary.

    • The position is recalculated when the page is scrolled or resized.

  4. Demo Application

    Try the component in the live demo:

    https://personal-7tgejs7g.outsystemscloud.com/PopoverDemo/Demo