mirror of
https://github.com/codex-storage/codex-marketplace-ui-components.git
synced 2025-02-19 17:58:07 +00:00
Change the removeScroll behavior to false by default
This commit is contained in:
parent
17401e5f5e
commit
2330d34546
@ -8,6 +8,7 @@ interface CustomStyleCSS extends CSSProperties {
|
||||
|
||||
type Props = {
|
||||
open: boolean;
|
||||
|
||||
onClose: () => void;
|
||||
|
||||
/**
|
||||
@ -18,7 +19,7 @@ type Props = {
|
||||
|
||||
/**
|
||||
* If true, it will remove the overflow scroll from the page when open.
|
||||
* Default: true
|
||||
* Default: false
|
||||
*/
|
||||
removeScroll?: boolean;
|
||||
|
||||
@ -30,7 +31,7 @@ export function Backdrop({
|
||||
onClose,
|
||||
style,
|
||||
className = "",
|
||||
removeScroll = true,
|
||||
removeScroll = false,
|
||||
}: Props) {
|
||||
const attr = attributes({ "aria-expanded": open });
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user