Skip to content

Commit ff6bf5c

Browse files
authored
Add overflow property to the overlay (#6284)
1 parent 3135267 commit ff6bf5c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/purple-pants-pay.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/react": patch
3+
---
4+
5+
Fix the disappearance of overflow property in the Overlay component

packages/react/src/Overlay/Overlay.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ export const BaseOverlay = React.forwardRef<HTMLDivElement, OwnOverlayProps>(
131131
[`data-height-${height}`]: '',
132132
[`data-max-height-${maxHeight}`]: maxHeight ? '' : undefined,
133133
[`data-visibility-${visibility}`]: '',
134+
[`data-overflow-${rest.overflow}`]: rest.overflow ? '' : undefined,
134135
}}
135136
className={clsx(className, classes.Overlay)}
136137
/>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy