File tree Expand file tree Collapse file tree
src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_flyout Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import type { EuiFlyoutProps } from '@elastic/eui';
1515import {
1616 EuiFlexGroup ,
1717 EuiFlexItem ,
18- EuiFlyoutResizable ,
18+ EuiFlyout ,
1919 EuiFlyoutBody ,
2020 EuiFlyoutHeader ,
2121 EuiTitle ,
@@ -263,7 +263,8 @@ export function UnifiedDocViewerFlyout({
263263
264264 return (
265265 < EuiPortal >
266- < EuiFlyoutResizable
266+ < EuiFlyout
267+ session = "start"
267268 className = "DiscoverFlyout" // used to override the z-index of the flyout from SecuritySolution
268269 onClose = { onClose }
269270 type = { flyoutType ?? 'push' }
@@ -274,11 +275,13 @@ export function UnifiedDocViewerFlyout({
274275 ownFocus = { true }
275276 minWidth = { minWidth }
276277 maxWidth = { maxWidth }
278+ resizable = { true }
277279 onResize = { setFlyoutWidth }
278280 css = { {
279281 maxWidth : `${ isXlScreen ? `calc(100vw - ${ DEFAULT_WIDTH } px)` : '90vw' } !important` ,
280282 } }
281283 paddingSize = "m"
284+ aria-label = { currentFlyoutTitle }
282285 { ...a11yProps }
283286 >
284287 { screenReaderDescription }
@@ -324,7 +327,7 @@ export function UnifiedDocViewerFlyout({
324327 ) }
325328 </ EuiFlyoutHeader >
326329 < EuiFlyoutBody > { bodyContent } </ EuiFlyoutBody >
327- </ EuiFlyoutResizable >
330+ </ EuiFlyout >
328331 </ EuiPortal >
329332 ) ;
330333}
You can’t perform that action at this time.
0 commit comments