-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
scope: chartsChanges related to the charts.Changes related to the charts.type: enhancementIt’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.
Description
Popper takes an anchorEl and we're calculating the coordinates to mimic the anchor element. When using computedAnchor === 'node', could we not use anchorEl directly instead of having to implement the anchoring logic ourselves?
Alternatively, would it make sense to use CSS anchoring instead? We'd need to detect its availability and fall back to Popper, unfortunately.
Originally posted by @bernardobelchior in #19954 (comment)
Metadata
Metadata
Assignees
Labels
scope: chartsChanges related to the charts.Changes related to the charts.type: enhancementIt’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.