Skip to content
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

[Saved Search] Field statistics saved search embeddable can cause scrollbar in Dashboard #181921

Open
Heenawter opened this issue Apr 26, 2024 · 0 comments
Labels
bug Fixes for quality problems that affect the customer experience impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:small Small Level of Effort Team:DataDiscovery Discover App Team (Document Explorer, Saved Search, Surrounding documents, Graph) Team:ML Team label for ML (also use :ml)
Projects

Comments

@Heenawter
Copy link
Contributor

Kibana version: main

Browser version: Chrome

Describe the bug:
Depending on how many results are shown in the field statistics embeddable and the height of the browser window, it can cause an unnecessary scrollbar in the dashboard because the individual field items are still taking up height despite being hidden behind the panel's scroll.

Note that I've tagged both @elastic/kibana-data-discovery and @elastic/ml-ui because I'm not sure if it's coming from Discover's FieldStatisticsTable or ML's EmbeddableFieldStatsTableWrapper.

Steps to reproduce:

  1. Create a field statistics saved search in the Discover plugin
  2. Add that embeddable to a dashboard
  3. Increase your time range to be big enough to cause a scrollbar in the embeddable
  4. Decrease your window size if necessary - notice that the items hidden behind the embeddable scrollbar are still increasing the height of the dashboard viewport, which is causing a scrollbar. 🔥

Video:

Screen.Recording.2024-04-26.at.3.12.47.PM.mov
@Heenawter Heenawter added bug Fixes for quality problems that affect the customer experience loe:small Small Level of Effort impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:DataDiscovery Discover App Team (Document Explorer, Saved Search, Surrounding documents, Graph) Team:ML Team label for ML (also use :ml) labels Apr 26, 2024
@kibanamachine kibanamachine added this to Inbox in Discover Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:small Small Level of Effort Team:DataDiscovery Discover App Team (Document Explorer, Saved Search, Surrounding documents, Graph) Team:ML Team label for ML (also use :ml)
Projects
No open projects
Development

No branches or pull requests

1 participant