Skip to content

Commit

Permalink
Remove lockScroll prop
Browse files Browse the repository at this point in the history
  • Loading branch information
atomiks committed Jun 12, 2024
1 parent 88dad26 commit dde49fb
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 14 deletions.
1 change: 0 additions & 1 deletion docs/pages/base-ui/api/popover-backdrop.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"default": "false"
},
"keepMounted": { "type": { "name": "bool" }, "default": "false" },
"lockScroll": { "type": { "name": "bool" }, "default": "false" },
"render": { "type": { "name": "union", "description": "element<br>&#124;&nbsp;func" } }
},
"name": "PopoverBackdrop",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@
"keepMounted": {
"description": "If <code>true</code>, the backdrop remains mounted when the popover content is closed."
},
"lockScroll": {
"description": "If <code>true</code>, the body is locked from scrolling while the backdrop is open."
},
"render": { "description": "A function to customize rendering of the component." }
},
"classDescriptions": {}
Expand Down
5 changes: 0 additions & 5 deletions packages/mui-base/src/Popover/Backdrop/PopoverBackdrop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,6 @@ PopoverBackdrop.propTypes /* remove-proptypes */ = {
* @default false
*/
keepMounted: PropTypes.bool,
/**
* If `true`, the body is locked from scrolling while the backdrop is open.
* @default false
*/
lockScroll: PropTypes.bool,
/**
* A function to customize rendering of the component.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ export type PopoverBackdropOwnerState = {

export interface PopoverBackdropProps
extends BaseUIComponentProps<'div', PopoverBackdropOwnerState> {
/**
* If `true`, the body is locked from scrolling while the backdrop is open.
* @default false
*/
lockScroll?: boolean;
/**
* If `true`, the backdrop remains mounted when the popover content is closed.
* @default false
Expand Down

0 comments on commit dde49fb

Please sign in to comment.