[ES|QL] fix editor menus on safari (#218167)

## Summary

Fix https://github.com/elastic/kibana/issues/215405

Tooltips still work:

<img width="524" alt="Screenshot 2025-04-14 at 1 03 17 PM"
src="https://github.com/user-attachments/assets/5a28d2e4-af75-455f-9df1-691493460cc7"
/>

---------

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
This commit is contained in:
Drew Tate 2025-04-15 13:26:27 -06:00 committed by GitHub
parent 83f3d614cc
commit 7ee7edb5e5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -776,7 +776,15 @@ export const ESQLEditor = memo(function ESQLEditor({
</EuiFlexItem>
</EuiFlexGroup>
)}
<EuiFlexGroup gutterSize="none" responsive={false} ref={containerRef}>
<EuiFlexGroup
gutterSize="none"
css={{
zIndex: theme.euiTheme.levels.flyout,
position: 'relative',
}}
responsive={false}
ref={containerRef}
>
<EuiOutsideClickDetector
onOutsideClick={() => {
setIsCodeEditorExpandedFocused(false);