elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.68k stars 8.23k forks source link

[Discover] Using the data grid full screen mode causes the top nav buttons to disappear #172716

Closed davismcphee closed 9 months ago

davismcphee commented 11 months ago

Opening and closing the data grid full screen mode in Discover causes the top nav buttons to disappear, requiring a page refresh to restore them:

https://github.com/elastic/kibana/assets/25592674/7de7f9fd-ed87-45e1-b0cc-eeb3d9f11bb1

I encountered this in 8.12, but it's likely the issue the issue exists in previous versions too.

elasticmachine commented 11 months ago

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

kertal commented 9 months ago

I was having a look at it, and I don't think this is related to Discover code, it's just surfacing here. When you go to fullscreen mode, there are just CSS classed added to DOM elements. For some mysterious reason, this leads to the navigation to disappear, to be removed of the DOM. I don't know what dark magic does that, but it's not something in Discover. Reassigning to @elastic/appex-sharedux because owning the navigation plugin, a brief look at their code, I couldn't see anything that could be some sort of dark magic dom destroying like