Skip to content

Commit 9bd2d75

Browse files
authored
[Flyout System] Cleanup TODOs (#9155)
1 parent 3bd96e3 commit 9bd2d75

3 files changed

Lines changed: 1 addition & 31 deletions

File tree

packages/eui/src/components/flyout/flyout.test.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,9 @@ jest.mock('../portal', () => ({
3232
}));
3333

3434
describe('EuiFlyout', () => {
35-
// TODO: Add `maskProps` to `childProps` again when EuiOverlayMask
36-
// is added back
3735
shouldRenderCustomStyles(
3836
<EuiFlyout {...requiredProps} onClose={() => {}} />,
39-
{ childProps: ['closeButtonProps'] }
37+
{ childProps: ['closeButtonProps', 'maskProps'] }
4038
);
4139

4240
test('is rendered', () => {

packages/eui/src/components/flyout/flyout.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,6 @@ export const EuiFlyout = forwardRef<
114114
}
115115
}
116116

117-
// TODO: if resizeable={true}, render EuiResizableFlyout.
118-
119117
isUnmanagedFlyout.current = true;
120118
return (
121119
<EuiFlyoutMenuContext.Provider value={{ onClose }}>

packages/eui/src/components/flyout/use_open_state.ts

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)