[9.6] [AppHeader] Lower sticky header z-index while an EuiDataGrid is fullscreen (#307491) #308303
All Vouch review confidence checks passed
Residual risk 0.44 = Change Risk (0.52) × (1 − Review Confidence (0.16)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 13% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #308303"
general
weight: 0.35
github-actions[bot]
Backport
This will backport the following commits from
mainto9.6:- [[AppHeader] Lower sticky header z-index while an EuiDataGrid is fullscreen (#307491)](https://github.com/elastic/kibana/pull/307491)
<!--- Backport version: 12.1.2 -->
Questions ?
Please refer to the Backport tool documentation
<!--BACKPORT [{"author":{"name":"Mykhailo Kondrat","email":"mykhailo.kondrat@elastic.co"},"sourceCommit":{"committedDate":"2026-11-30T13:36:19Z","message":"[AppHeader] Lower sticky header z-index while an EuiDataGrid is fullscreen (#307491)\n\nCloses #283374\n\n## Summary\n\nIn a case, a fullscreen alerts table was partly hidden by the Cases page\nheader.\n\nThe sticky
AppHeaderuses thelevels.maskz-index (6000). A\nfullscreenEuiDataGriduseslevels.header - 2(998). The header\ntherefore covered the grid column headers.\n\nEUI adds theeuiDataGrid__restrictBodyclass to the body in fullscreen\nmode. This change lowers the header z-index tolevels.contentwhen\nthat class is present.\n\n### Why lower the header and not raise the grid\n\nKibana already handles this problem by lowering the header or\nneutralizing other z-index values. No code raises\n.euiDataGrid--fullScreenabove 998.\n\n| Place | Pattern |\n|---|---|\n| EUIEuiDataGrid(fullscreen_selector.styles.js) | Lowers\n.euiHeader[data-fixed-header]to 997 with the body class.AppHeader\nis not anEuiHeader, so this rule does not reach it. This PR extends\nthe same idea. |\n| Observability metrics grid (use_metrics_grid_fullscreen.ts) | Lowers\nthe header to 997 and resets.embPanelz-index. The reset fixes\n#260087, where panels stacked over the fullscreen overlay. |\n| Discover data table (use_full_screen_watcher.ts) | Setsz-index:\nunseton all elements except the grid, EUI portals, and\ndata-kbn-preserve-zindexelements. |\n| Security (use_full_screen) | Reuses the EUI body class. It has no\nz-index logic of its own. |\n\nRaising the grid is a shared change for every fullscreen grid. Other\nelements in the same stacking context can still out-rank a higher grid\nvalue, as #260087 shows. Flyouts, modals and popovers render in portals\non<body>, so the grid z-index does not affect them.\n\n## Testing\n\n\nhttps://github.com/user-attachments/assets/b4100848-3d9b-498f-a57b-cb0cee18bd07\n\n- Added unit tests inapp_header.test.tsxfor three cases: the mask\nz-index without fullscreen, the content z-index with the body class, and\nno z-index for a non-sticky header. The fullscreen test fails without\nthe fix.\n- ESLint, type check and thekbn-ui/app-headerJest tests pass.\n- In a local Kibana with a case that has 20 alerts, the Cases header\ncovered the column headers onmain. With this change, the grid column\nheaders are fully visible, and the header returns to z-index 6000 after\nfullscreen exit.\n- I checked the sticky header on Dashboards, Cases, Security, Workflows,\nMaps and Data views. I found no regression.\n\n### Checklist\n\nCheck the PR satisfies following conditions.\n\nReviewers should verify this PR satisfies this list as well.\n\n- [x] Any text added follows EUI's writing\nguidelines, uses\nsentence case text and includes i18n\nsupport\n(no user-facing text added)\n- [ ]\nDocumentation\nwas added for features that require explanation or tutorials\n- [x] Unit or functional\ntests\nwere updated or added to match the most common scenarios\n- [ ] If a plugin configuration key changed, check if it needs to be\nallowlisted in the cloud, added to the docker\nlist,\nor updated in external injectors such as kibana-controller; unused in\nthis repo is not unused in production — prefer\nrename()\nover a hard cut\n- [ ] This was checked for breaking HTTP API changes, and any breaking\nchanges have been approved by the breaking-change committee. The\nrelease_note:breakinglabel should be applied in these situations, and\nthe PR description must then include## Impactand## Action\nsections. See breaking\nchanges.\n- [ ] Flaky Test\nRunner was\nused on any tests changed\n- [ ] The correctrelease_note:type label (orrelease_note:skip)\nis applied, the PR title reads as a release note, and the description\nhas a## Release notesection if a custom summary is needed, per the\nguidelines.\n- [ ] Review the backport\nguidelines\nand apply applicablebackport:labels.\n\n### Identify risks\n\nDoes this PR introduce any risks? For example, consider risks like hard\nto test bugs, performance regression, potential of data loss.\n\nDescribe the risk, its severity, and mitigation for each identified\nrisk. Invite stakeholders and evaluate how to proceed before merging.\n\n- [ ] See some risk\nexamples\n- [x] The fix depends on the EUI body classeuiDataGrid__restrictBody.\nIf EUI renames it, the header covers a fullscreen grid again, with no\nerror. Severity: low. Kibana chrome (handle_eui_fullscreen_changes)\nand Security already depend on the same class. Mitigation: the unit test\ncovers our rule, and we can ask EUI for a stable signal.\n- [x] The header drops to z-index 0, the same level as page content,\nwhile a grid is fullscreen. A later sibling in the DOM could paint over\nit. Severity: low. This is only while a fullscreen grid is open.\n\n---------\n\nCo-authored-by: Cursor <cursoragent@cursor.com>","sha":"8301d0c292d7f004c9d8efd0acf4e1744d3a4a40","branchLabelMapping":{"^v9.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","backport:version","v9.6.0","reviewer:libra","Team:Security Investigations","libra:enable-draft","v9.7.0"],"title":"[AppHeader] Lower sticky header z-index while an EuiDataGrid is fullscreen","number":307491,"url":"https://github.com/elastic/kibana/pull/307491","mergeCommit":{"message":"[AppHeader] Lower sticky header z-index while an EuiDataGrid is fullscreen (#307491)\n\nCloses #283374\n\n## Summary\n\nIn a case, a fullscreen alerts table was partly hidden by the Cases page\nheader.\n\nThe stickyAppHeaderuses thelevels.maskz-index (6000). A\nfullscreenEuiDataGriduseslevels.header - 2(998). The header\ntherefore covered the grid column headers.\n\nEUI adds theeuiDataGrid__restrictBodyclass to the body in fullscreen\nmode. This change lowers the header z-index tolevels.contentwhen\nthat class is present.\n\n### Why lower the header and not raise the grid\n\nKibana already handles this problem by lowering the header or\nneutralizing other z-index values. No code raises\n.euiDataGrid--fullScreenabove 998.\n\n| Place | Pattern |\n|---|---|\n| EUIEuiDataGrid(fullscreen_selector.styles.js) | Lowers\n.euiHeader[data-fixed-header]to 997 with the body class.AppHeader\nis not anEuiHeader, so this rule does not reach it. This PR extends\nthe same idea. |\n| Observability metrics grid (use_metrics_grid_fullscreen.ts) | Lowers\nthe header to 997 and resets.embPanelz-index. The reset fixes\n#260087, where panels stacked over the fullscreen overlay. |\n| Discover data table (use_full_screen_watcher.ts) | Setsz-index:\nunseton all elements except the grid, EUI portals, and\ndata-kbn-preserve-zindexelements. |\n| Security (use_full_screen) | Reuses the EUI body class. It has no\nz-index logic of its own. |\n\nRaising the grid is a shared change for every fullscreen grid. Other\nelements in the same stacking context can still out-rank a higher grid\nvalue, as #260087 shows. Flyouts, modals and popovers render in portals\non<body>, so the grid z-index does not affect them.\n\n## Testing\n\n\nhttps://github.com/user-attachments/assets/b4100848-3d9b-498f-a57b-cb0cee18bd07\n\n- Added unit tests inapp_header.test.tsxfor three cases: the mask\nz-index without fullscreen, the content z-index with the body class, and\nno z-index for a non-sticky header. The fullscreen test fails without\nthe fix.\n- ESLint, type check and thekbn-ui/app-headerJest tests pass.\n- In a local Kibana with a case that has 20 alerts, the Cases header\ncovered the column headers onmain. With this change, the grid column\nheaders are fully visible, and the header returns to z-index 6000 after\nfullscreen exit.\n- I checked the sticky header on Dashboards, Cases, Security, Workflows,\nMaps and Data views. I found no regression.\n\n### Checklist\n\nCheck the PR satisfies following conditions.\n\nReviewers should verify this PR satisfies this list as well.\n\n- [x] Any text added follows EUI's writing\nguidelines, uses\nsentence case text and includes i18n\nsupport\n(no user-facing text added)\n- [ ]\nDocumentation\nwas added for features that require explanation or tutorials\n- [x] Unit or functional\ntests\nwere updated or added to match the most common scenarios\n- [ ] If a plugin configuration key changed, check if it needs to be\nallowlisted in the cloud, added to the docker\nlist,\nor updated in external injectors such as kibana-controller; unused in\nthis repo is not unused in production — prefer\nrename()\nover a hard cut\n- [ ] This was checked for breaking HTTP API changes, and any breaking\nchanges have been approved by the breaking-change committee. The\nrelease_note:breakinglabel should be applied in these situations, and\nthe PR description must then include## Impactand## Action\nsections. See breaking\nchanges.\n- [ ] Flaky Test\nRunner was\nused on any tests changed\n- [ ] The correctrelease_note:type label (orrelease_note:skip)\nis applied, the PR title reads as a release note, and the description\nhas a## Release notesection if a custom summary is needed, per the\nguidelines.\n- [ ] Review the backport\nguidelines\nand apply applicablebackport:labels.\n\n### Identify risks\n\nDoes this PR introduce any risks? For example, consider risks like hard\nto test bugs, performance regression, potential of data loss.\n\nDescribe the risk, its severity, and mitigation for each identified\nrisk. Invite stakeholders and evaluate how to proceed before merging.\n\n- [ ] See some risk\nexamples\n- [x] The fix depends on the EUI body classeuiDataGrid__restrictBody.\nIf EUI renames it, the header covers a fullscreen grid again, with no\nerror. Severity: low. Kibana chrome (handle_eui_fullscreen_changes)\nand Security already depend on the same class. Mitigation: the unit test\ncovers our rule, and we can ask EUI for a stable signal.\n- [x] The header drops to z-index 0, the same level as page content,\nwhile a grid is fullscreen. A later sibling in the DOM could paint over\nit. Severity: low. This is only while a fullscreen grid is open.\n\n---------\n\nCo-authored-by: Cursor <cursoragent@cursor.com>","sha":"8301d0c292d7f004c9d8efd0acf4e1744d3a4a40"}},"sourceBranch":"main","suggestedTargetBranches":["9.6"],"targetPullRequestStates":[{"branch":"9.6","label":"v9.6.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.7.0","branchLabelMappingKey":"^v9.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/307491","number":307491,"mergeCommit":{"message":"[AppHeader] Lower sticky header z-index while an EuiDataGrid is fullscreen (#307491)\n\nCloses #283374\n\n## Summary\n\nIn a case, a fullscreen alerts table was partly hidden by the Cases page\nheader.\n\nThe stickyAppHeaderuses thelevels.maskz-index (6000). A\nfullscreenEuiDataGriduseslevels.header - 2(998). The header\ntherefore covered the grid column headers.\n\nEUI adds theeuiDataGrid__restrictBodyclass to the body in fullscreen\nmode. This change lowers the header z-index tolevels.contentwhen\nthat class is present.\n\n### Why lower the header and not raise the grid\n\nKibana already handles this problem by lowering the header or\nneutralizing other z-index values. No code raises\n.euiDataGrid--fullScreenabove 998.\n\n| Place | Pattern |\n|---|---|\n| EUIEuiDataGrid(fullscreen_selector.styles.js) | Lowers\n.euiHeader[data-fixed-header]to 997 with the body class.AppHeader\nis not anEuiHeader, so this rule does not reach it. This PR extends\nthe same idea. |\n| Observability metrics grid (use_metrics_grid_fullscreen.ts) | Lowers\nthe header to 997 and resets.embPanelz-index. The reset fixes\n#260087, where panels stacked over the fullscreen overlay. |\n| Discover data table (use_full_screen_watcher.ts) | Setsz-index:\nunseton all elements except the grid, EUI portals, and\ndata-kbn-preserve-zindexelements. |\n| Security (use_full_screen) | Reuses the EUI body class. It has no\nz-index logic of its own. |\n\nRaising the grid is a shared change for every fullscreen grid. Other\nelements in the same stacking context can still out-rank a higher grid\nvalue, as #260087 shows. Flyouts, modals and popovers render in portals\non<body>, so the grid z-index does not affect them.\n\n## Testing\n\n\nhttps://github.com/user-attachments/assets/b4100848-3d9b-498f-a57b-cb0cee18bd07\n\n- Added unit tests inapp_header.test.tsxfor three cases: the mask\nz-index without fullscreen, the content z-index with the body class, and\nno z-index for a non-sticky header. The fullscreen test fails without\nthe fix.\n- ESLint, type check and thekbn-ui/app-headerJest tests pass.\n- In a local Kibana with a case that has 20 alerts, the Cases header\ncovered the column headers onmain. With this change, the grid column\nheaders are fully visible, and the header returns to z-index 6000 after\nfullscreen exit.\n- I checked the sticky header on Dashboards, Cases, Security, Workflows,\nMaps and Data views. I found no regression.\n\n### Checklist\n\nCheck the PR satisfies following conditions.\n\nReviewers should verify this PR satisfies this list as well.\n\n- [x] Any text added follows EUI's writing\nguidelines, uses\nsentence case text and includes i18n\nsupport\n(no user-facing text added)\n- [ ]\nDocumentation\nwas added for features that require explanation or tutorials\n- [x] Unit or functional\ntests\nwere updated or added to match the most common scenarios\n- [ ] If a plugin configuration key changed, check if it needs to be\nallowlisted in the cloud, added to the docker\nlist,\nor updated in external injectors such as kibana-controller; unused in\nthis repo is not unused in production — prefer\nrename()\nover a hard cut\n- [ ] This was checked for breaking HTTP API changes, and any breaking\nchanges have been approved by the breaking-change committee. The\nrelease_note:breakinglabel should be applied in these situations, and\nthe PR description must then include## Impactand## Action\nsections. See breaking\nchanges.\n- [ ] Flaky Test\nRunner was\nused on any tests changed\n- [ ] The correctrelease_note:type label (orrelease_note:skip)\nis applied, the PR title reads as a release note, and the description\nhas a## Release notesection if a custom summary is needed, per the\nguidelines.\n- [ ] Review the backport\nguidelines\nand apply applicablebackport:labels.\n\n### Identify risks\n\nDoes this PR introduce any risks? For example, consider risks like hard\nto test bugs, performance regression, potential of data loss.\n\nDescribe the risk, its severity, and mitigation for each identified\nrisk. Invite stakeholders and evaluate how to proceed before merging.\n\n- [ ] See some risk\nexamples\n- [x] The fix depends on the EUI body classeuiDataGrid__restrictBody.\nIf EUI renames it, the header covers a fullscreen grid again, with no\nerror. Severity: low. Kibana chrome (handle_eui_fullscreen_changes)\nand Security already depend on the same class. Mitigation: the unit test\ncovers our rule, and we can ask EUI for a stable signal.\n- [x] The header drops to z-index 0, the same level as page content,\nwhile a grid is fullscreen. A later sibling in the DOM could paint over\nit. Severity: low. This is only while a fullscreen grid is open.\n\n---------\n\nCo-authored-by: Cursor <cursoragent@cursor.com>","sha":"8301d0c292d7f004c9d8efd0acf4e1744d3a4a40"}}]}] BACKPORT-->