-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Security Solution] Scroll bar is displaying on collapse the Treemap panel #136374
Comments
Pinging @elastic/security-solution (Team: SecuritySolution) |
Pinging @elastic/security-threat-hunting (Team:Threat Hunting) |
…p panel This PR fixes [issue 136374](elastic#136374), where sometimes, a scroll bar is displayed when the Treemap panel is collapsed, per the following screenshot: ![screenshot from issue 136374](https://user-images.githubusercontent.com/61860752/178940030-62391fde-0170-4472-ad5d-d9dd102499ea.png) _Above: Image from the repro steps of <https://github.com/elastic/kibana/issues/136374>_ ### Notes -⚠️ The issue, (even before the fix), may not appear on some platforms. For example, the following screenshot was taken with Chrome `103.0.5060.134` on macOS _before_ the fix: ![mac_chrome_treemap_collapsed_before](https://user-images.githubusercontent.com/4459398/180098942-a1aac4b0-8568-4afa-b97c-c7d00e471e54.png) _Above: Even BEFORE the fix, the issue may not appear in Chrome on macOS_ - This PR was desk tested in light and dark on Windows and macOS (see screenshots below) using the following browsers: - Chrome `103.0.5060.134` - Firefox `102.0.1` - Safari `15.5` - The Treemap legend scroll bar was updated in this PR to use the `eui-yScroll` style, per the before and after screenshots below: #### BEFORE: The treemap legend scroll bar (Windows, light theme) ![windows_chrome_treemap_expanded_before](https://user-images.githubusercontent.com/4459398/180099530-ba462da6-7687-44ea-ad40-4d67abbbb895.png) _Above: BEFORE: The treemap legend scroll bar (Windows, light theme)_ #### AFTER: The treemap legend scroll bar (Windows, light theme) ![windows_chrome_treemap_expanded_after_light_theme](https://user-images.githubusercontent.com/4459398/180099755-5e5f5536-2bf4-4edc-b53a-12105ecb4f79.png) _Above: AFTER: The treemap legend scroll bar (Windows, light theme)_ #### AFTER: The treemap legend scroll bar (Windows, dark theme) ![windows_chrome_treemap_expanded_after_dark_theme](https://user-images.githubusercontent.com/4459398/180099883-8d7a25ce-4b0e-46a8-b7ad-2cc0c9356b9a.png) _Above: AFTER: The treemap legend scroll bar (Windows, dark theme)_ #### AFTER: The treemap legend scroll bar (macOS, light theme) ![mac_chrome_treemap_expanded_after_light_theme](https://user-images.githubusercontent.com/4459398/180100158-97b131b8-61a7-4390-93f7-cdc6d2ee782d.png) _Above: AFTER: The treemap legend scroll bar (macOS, light theme)_ #### AFTER: The treemap legend scroll bar (macOS, dark theme) ![mac_chrome_treemap_expanded_after_dark_theme](https://user-images.githubusercontent.com/4459398/180101628-7d5333f2-e428-4a3e-b394-0d14accacdef.png) _Above: AFTER: The treemap legend scroll bar (macOS, dark theme)_ ### Desk Testing The following BEFORE / AFTER screenshots of the collapsed Treemap panel were taken using Chrome `103.0.5060.134` on Windows and macOS: #### BEFORE: Collapsed panel (Windows, light theme) ![windows_chrome_treemap_collapsed_before](https://user-images.githubusercontent.com/4459398/180100527-4239e7cd-7e45-4e7f-8342-07bc206da3a4.png) _Above: BEFORE: Collapsed panel (Windows, light theme)_ #### AFTER: Collapsed panel (Windows, light theme) ![windows_chrome_treemap_collapsed_after_light_theme](https://user-images.githubusercontent.com/4459398/180100619-0ffd9d86-563e-4e4b-984d-c03f84a393b6.png) _Above: AFTER: Collapsed panel (Windows, light theme)_ #### AFTER: Collapsed panel (Windows, dark theme) ![windows_chrome_treemap_collapsed_after_dark_theme](https://user-images.githubusercontent.com/4459398/180100789-b5bed14f-4d00-4645-9078-ccba680454b8.png) _Above: AFTER: Collapsed panel (Windows, dark theme)_ #### AFTER: Collapsed panel (macOS, light theme) ![mac_chrome_treemap_collapsed_after_light_theme](https://user-images.githubusercontent.com/4459398/180100879-0881e6f3-83ee-4fd4-827d-73cf2c0b6b58.png) _Above: AFTER: Collapsed panel (macOS, light theme)_ #### AFTER: Collapsed panel (macOS, dark theme) ![mac_chrome_treemap_collapsed_after_dark_theme](https://user-images.githubusercontent.com/4459398/180101153-50775efd-831b-47f7-937b-4f5b25b13ff6.png) _Above: AFTER: Collapsed panel (macOS, dark theme)_
…anel (#136787) ## [Security Solution] Fixes scroll bar displayed on collapsed Treemap panel This PR fixes [issue 136374](#136374), where sometimes, a scroll bar is displayed when the Treemap panel is collapsed, per the following screenshot: ![screenshot from issue 136374](https://user-images.githubusercontent.com/61860752/178940030-62391fde-0170-4472-ad5d-d9dd102499ea.png) _Above: Image from the repro steps of <https://github.com/elastic/kibana/issues/136374>_ ### Notes -⚠️ The issue, (even before the fix), may not appear on some platforms. For example, the following screenshot was taken with Chrome `103.0.5060.134` on macOS _before_ the fix: ![mac_chrome_treemap_collapsed_before](https://user-images.githubusercontent.com/4459398/180098942-a1aac4b0-8568-4afa-b97c-c7d00e471e54.png) _Above: Even BEFORE the fix, the issue may not appear in Chrome on macOS_ - This PR was desk tested in light and dark on Windows and macOS (see screenshots below) using the following browsers: - Chrome `103.0.5060.134` - Firefox `102.0.1` - Safari `15.5` - The Treemap legend scroll bar was updated in this PR to use the `eui-yScroll` style, per the before and after screenshots below: #### BEFORE: The treemap legend scroll bar (Windows, light theme) ![windows_chrome_treemap_expanded_before](https://user-images.githubusercontent.com/4459398/180099530-ba462da6-7687-44ea-ad40-4d67abbbb895.png) _Above: BEFORE: The treemap legend scroll bar (Windows, light theme)_ #### AFTER: The treemap legend scroll bar (Windows, light theme) ![windows_chrome_treemap_expanded_after_light_theme](https://user-images.githubusercontent.com/4459398/180099755-5e5f5536-2bf4-4edc-b53a-12105ecb4f79.png) _Above: AFTER: The treemap legend scroll bar (Windows, light theme)_ #### AFTER: The treemap legend scroll bar (Windows, dark theme) ![windows_chrome_treemap_expanded_after_dark_theme](https://user-images.githubusercontent.com/4459398/180099883-8d7a25ce-4b0e-46a8-b7ad-2cc0c9356b9a.png) _Above: AFTER: The treemap legend scroll bar (Windows, dark theme)_ #### AFTER: The treemap legend scroll bar (macOS, light theme) ![mac_chrome_treemap_expanded_after_light_theme](https://user-images.githubusercontent.com/4459398/180100158-97b131b8-61a7-4390-93f7-cdc6d2ee782d.png) _Above: AFTER: The treemap legend scroll bar (macOS, light theme)_ #### AFTER: The treemap legend scroll bar (macOS, dark theme) ![mac_chrome_treemap_expanded_after_dark_theme](https://user-images.githubusercontent.com/4459398/180101628-7d5333f2-e428-4a3e-b394-0d14accacdef.png) _Above: AFTER: The treemap legend scroll bar (macOS, dark theme)_ ### Desk Testing The following BEFORE / AFTER screenshots of the collapsed Treemap panel were taken using Chrome `103.0.5060.134` on Windows and macOS: #### BEFORE: Collapsed panel (Windows, light theme) ![windows_chrome_treemap_collapsed_before](https://user-images.githubusercontent.com/4459398/180100527-4239e7cd-7e45-4e7f-8342-07bc206da3a4.png) _Above: BEFORE: Collapsed panel (Windows, light theme)_ #### AFTER: Collapsed panel (Windows, light theme) ![windows_chrome_treemap_collapsed_after_light_theme](https://user-images.githubusercontent.com/4459398/180100619-0ffd9d86-563e-4e4b-984d-c03f84a393b6.png) _Above: AFTER: Collapsed panel (Windows, light theme)_ #### AFTER: Collapsed panel (Windows, dark theme) ![windows_chrome_treemap_collapsed_after_dark_theme](https://user-images.githubusercontent.com/4459398/180100789-b5bed14f-4d00-4645-9078-ccba680454b8.png) _Above: AFTER: Collapsed panel (Windows, dark theme)_ #### AFTER: Collapsed panel (macOS, light theme) ![mac_chrome_treemap_collapsed_after_light_theme](https://user-images.githubusercontent.com/4459398/180100879-0881e6f3-83ee-4fd4-827d-73cf2c0b6b58.png) _Above: AFTER: Collapsed panel (macOS, light theme)_ #### AFTER: Collapsed panel (macOS, dark theme) ![mac_chrome_treemap_collapsed_after_dark_theme](https://user-images.githubusercontent.com/4459398/180101153-50775efd-831b-47f7-937b-4f5b25b13ff6.png) _Above: AFTER: Collapsed panel (macOS, dark theme)_
@deepikakeshav-qasource, this issue auto-closed when the fix in #136787 was merged. Would you be willing to verify the fix? |
Hi @andrew-goldstein , Yes, We will test this fix on latest 8.4.0 snapshot Thanks!! |
Hi @andrew-goldstein , We have validated this issue on 8.4.0 BC1 build and observed that issue is Fixed 🟢 Please find the below testing Details: Build info
Hence, We are marking as QA Validated!! Thanks!! |
Describe the bug
Scroll bar is displaying on collapse the Treemap panel
Build info
Preconditions
Steps to Reproduce
Actual Result
Scroll bar is displaying on collapse the Treemap panel
Expected Result
Scroll bar should not be displayed on collapse the Treemap panel
What's Working
This issue is not occurring for Table and trend panel
Screen-shot
The text was updated successfully, but these errors were encountered: