-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Defend Workflows][Bug] Case flyout z-index #153219
[Defend Workflows][Bug] Case flyout z-index #153219
Conversation
Pinging @elastic/security-defend-workflows (Team:Defend Workflows) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking a look at the issue. It looks like the changes have affected how the global nav header is shown. With the new changes the global nav header shows up behind the flyout and is grayed out where as previously it was not grayed out.
Here's with the changes
@jonathan-buttner do you think it's actually a bad thing? :P why should we see a navbar while using a modal? |
Yeah I think we want the header to be selectable while using a flyout. That's consistent with how the rest of Kibana works |
@jonathan-buttner Ok it should be fine now 👍 we changed above to below, and the issue is still fixed :elastic-heart: |
x-pack/plugins/security_solution/public/timelines/components/flyout/pane/index.tsx
Show resolved
Hide resolved
This PR fixes this bug #156147. The fix is really crucial to get in 8.8. |
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Module Count
Async chunks
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
@@ -37,7 +37,6 @@ const MyEuiModal = styled(EuiModal)` | |||
height: auto !important; | |||
max-width: 718px; | |||
} | |||
z-index: 99999999; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure, how to test this case
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested locally exceptions.
Make 1 comment about case I am not sure how to test https://github.com/elastic/kibana/pull/153219/files?file-filters%5B%5D=.snap&file-filters%5B%5D=.ts&file-filters%5B%5D=.tsx&owned-by%5B%5D=nkhristinin&show-viewed-files=true#r1183485749
maybe @dhurley14 can help
Fixes elastic/security-team#6228 5000 `z-index` set in `create-case-flyout-mask-overlay` is being overwritten by `euiOverlayMask-belowHeader` with a value of 1000. This causes **Case flyout** to be under the already opened **Osquery flyout** This PR includes cleanup in flyouts renders - we removed unnecessary `maskProps` as well as z-indexes that were explicitly set even though flyout component manages them itself. ![test](https://user-images.githubusercontent.com/29123534/225292177-a08d3fb8-aad3-487b-a054-6cde6aec94d7.gif) --------- Co-authored-by: Tomasz Ciecierski <ciecierskitomek@gmail.com> Co-authored-by: Tomasz Ciecierski <tomasz.ciecierski@elastic.co> Co-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit d8fe39c)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.8`: - [[Defend Workflows][Bug] Case flyout z-index (#153219)](#153219) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Konrad Szwarc","email":"konrad.szwarc@elastic.co"},"sourceCommit":{"committedDate":"2023-05-03T10:30:13Z","message":"[Defend Workflows][Bug] Case flyout z-index (#153219)\n\nFixes https://github.com/elastic/security-team/issues/6228\r\n\r\n5000 `z-index` set in `create-case-flyout-mask-overlay` is being\r\noverwritten by `euiOverlayMask-belowHeader` with a value of 1000. This\r\ncauses **Case flyout** to be under the already opened **Osquery flyout**\r\n\r\nThis PR includes cleanup in flyouts renders - we removed unnecessary\r\n`maskProps` as well as z-indexes that were explicitly set even though\r\nflyout component manages them itself.\r\n\r\n\r\n![test](https://user-images.githubusercontent.com/29123534/225292177-a08d3fb8-aad3-487b-a054-6cde6aec94d7.gif)\r\n\r\n---------\r\n\r\nCo-authored-by: Tomasz Ciecierski <ciecierskitomek@gmail.com>\r\nCo-authored-by: Tomasz Ciecierski <tomasz.ciecierski@elastic.co>\r\nCo-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"d8fe39c18d9df7acb00a82515f5a41a6e4111c59","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:Defend Workflows","Feature:Osquery","ci:all-cypress-suites","v8.8.0","ci:skip-cypress-osquery","v8.9.0"],"number":153219,"url":"https://github.com/elastic/kibana/pull/153219","mergeCommit":{"message":"[Defend Workflows][Bug] Case flyout z-index (#153219)\n\nFixes https://github.com/elastic/security-team/issues/6228\r\n\r\n5000 `z-index` set in `create-case-flyout-mask-overlay` is being\r\noverwritten by `euiOverlayMask-belowHeader` with a value of 1000. This\r\ncauses **Case flyout** to be under the already opened **Osquery flyout**\r\n\r\nThis PR includes cleanup in flyouts renders - we removed unnecessary\r\n`maskProps` as well as z-indexes that were explicitly set even though\r\nflyout component manages them itself.\r\n\r\n\r\n![test](https://user-images.githubusercontent.com/29123534/225292177-a08d3fb8-aad3-487b-a054-6cde6aec94d7.gif)\r\n\r\n---------\r\n\r\nCo-authored-by: Tomasz Ciecierski <ciecierskitomek@gmail.com>\r\nCo-authored-by: Tomasz Ciecierski <tomasz.ciecierski@elastic.co>\r\nCo-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"d8fe39c18d9df7acb00a82515f5a41a6e4111c59"}},"sourceBranch":"main","suggestedTargetBranches":["8.8"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/153219","number":153219,"mergeCommit":{"message":"[Defend Workflows][Bug] Case flyout z-index (#153219)\n\nFixes https://github.com/elastic/security-team/issues/6228\r\n\r\n5000 `z-index` set in `create-case-flyout-mask-overlay` is being\r\noverwritten by `euiOverlayMask-belowHeader` with a value of 1000. This\r\ncauses **Case flyout** to be under the already opened **Osquery flyout**\r\n\r\nThis PR includes cleanup in flyouts renders - we removed unnecessary\r\n`maskProps` as well as z-indexes that were explicitly set even though\r\nflyout component manages them itself.\r\n\r\n\r\n![test](https://user-images.githubusercontent.com/29123534/225292177-a08d3fb8-aad3-487b-a054-6cde6aec94d7.gif)\r\n\r\n---------\r\n\r\nCo-authored-by: Tomasz Ciecierski <ciecierskitomek@gmail.com>\r\nCo-authored-by: Tomasz Ciecierski <tomasz.ciecierski@elastic.co>\r\nCo-authored-by: Patryk Kopyciński <contact@patrykkopycinski.com>\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"d8fe39c18d9df7acb00a82515f5a41a6e4111c59"}}]}] BACKPORT--> Co-authored-by: Konrad Szwarc <konrad.szwarc@elastic.co>
Fixes https://github.com/elastic/security-team/issues/6228
5000
z-index
set increate-case-flyout-mask-overlay
is being overwritten byeuiOverlayMask-belowHeader
with a value of 1000. This causes Case flyout to be under the already opened Osquery flyoutThis PR includes cleanup in flyouts renders - we removed unnecessary
maskProps
as well as z-indexes that were explicitly set even though flyout component manages them itself.