adobe/react-spectrum

Ability to style the Popover overlay

Open

#5 231 ouverte le 10 oct. 2023

Voir sur GitHub
 (6 commentaires) (1 réaction) (0 assignés)TypeScript (1 500 forks)auto 404
OverlaysRACenhancementhelp wanted

Métriques du dépôt

Stars
 (15 634 stars)
Métriques de merge PR
 (Métriques PR en attente)

Description

Provide a general summary of the feature here

Would be very useful to style the Popover overlay the same way as Modal and ModalOverlay.

🤔 Expected Behavior?

You should not be able to interact with outside elements while the popover is open.

😯 Current Behavior

If there are elements with zIndex set, you're able to click them while the popover is still open. That's due to the Popover Overlay not having any zIndex which makes it possible to click other elements with zIndex.

💁 Possible Solution

Either the popover overlay already comes with zIndex or an ability to customize the overlay.

🔦 Context

We have clickable elements with higher zIndex and if you try to close the popover by clicking outside, you can accidentally interact with an element with higher zIndex than the overlay.

💻 Examples

No response

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

Guide contributeur