Skip to content

[Popover] considerations when migrating to popover API #1837

Open
@Westbrook

Description

@Westbrook

With the coming implementation of APIs like the popover attribute, it will be possible to have UIs that features Popovers and desendents of Popovers. In doing so, the filter found at:

filter: drop-shadow(var(--mod-popover-shadow-horizontal, var(--spectrum-popover-shadow-horizontal)) var(--mod-popover-shadow-vertical, var(--spectrum-popover-shadow-vertical)) var(--mod-popover-shadow-blur, var(--spectrum-popover-shadow-blur)) var(--mod-popover-shadow-color, var(--spectrum-popover-shadow-color)));
will stack as seen here: https://codepen.io/Westbrook/pen/BaqmJjP with the .spectrum-Popover element with the red drop shadow filter. We need something like what is seen in .spectrum-Popover--alt so that subsequent filters can be removed so that they do not stack.

image

Metadata

Metadata

Assignees

Labels

featureA request to add a feature or enhancement to a componentquestionFurther information is requestedresearchFlag for research needed or in progresssync to jiraThese will be pushed into adobe internal jira

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions