How to Add Arrow to material UI popover Like ToolTip

Viewed 1002

I would like to add Add an Arrow to the Popover as we have for the ToolTip

enter image description here enter image description here

Is there any possibility to Add an Arrow ??

1 Answers

According to the documentation, this snippet will do what you require enter image description here

modifiers={[
    {
        name: 'arrow',
        enabled: true,
        options: {
            element: arrowRef,
        },
    },
]}

See scroll playground https://mui.com/components/popper/

Related