mui / mui/base-ui

[popover] Add `--anchor-x` and `--anchor-y` CSS custom properties to `Positioner`

Open
#1,911 2 comments 0 reactions 0 assignees View on GitHub
component: popover has workaround type: enhancement
Dominant language
TypeScript
Stars
10.9k
Forks
543
Avg merge
1d 20h
Merged PRs (30d)
101

Description

# Feature request

## Summary

Expose `--anchor-x` and `--anchor-y` CSS custom properties in addition to the existing `--anchor-width` and `--anchor-height` in the `Positioner` component.

## Motivation

I'm building product tours and need to highlight the anchor element. Having access to `--anchor-x` and `--anchor-y` will help position the highlight precisely.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.