adobe/react-spectrum

Ability to style the Popover overlay

Open

#5,231 建立於 2023年10月10日

在 GitHub 查看
 (6 留言) (1 反應) (0 負責人)TypeScript (1,500 fork)auto 404
OverlaysRACenhancementhelp wanted

倉庫指標

Star
 (15,634 star)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南