OpenSearch-Dashboards icon indicating copy to clipboard operation
OpenSearch-Dashboards copied to clipboard

[BUG] [TableVis] Embeddables are not sized correctly, and create vertical and horizontal scrollbars

Open joshuarrrr opened this issue 1 year ago • 2 comments

Describe the bug

The table renderer already correctly has vertical or horizontal scrollbars as necessary, so these extra scrollbars indicate a CSS or responsive issue in the container itself.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior No nested scrollbars

OpenSearch Version Latest (2.11.1)

Dashboards Version Latest (2.11.1)

Plugins

None

Screenshots Screenshot 2023-12-14 at 1 30 19 PM Screenshot 2023-12-14 at 1 29 57 PM

Host/Environment (please complete the following information):

  • OS: MacOs
  • Browser and version: Firefox

Additional context

Similar past issue with vega visualizations: https://github.com/opensearch-project/OpenSearch-Dashboards/issues/3485

joshuarrrr avatar Dec 14 '23 21:12 joshuarrrr

This is still there on 2.13 and very annoying for larger dashboards

Lockhead avatar Apr 17 '24 15:04 Lockhead

This is really hell for usability, it's impossible to use right now... screenshot

Lockhead avatar May 17 '24 14:05 Lockhead

The reason we get the extra scrollbars is that .visualization has a padding of $euiSizeS = 8px while its child has a margin of - $euiSizeL / 2 = -12px. This makes the child larger than the parent, forcing the scrollbars to show up.

AMoo-Miki avatar Jun 11 '24 21:06 AMoo-Miki

This is still there on 2.16 and very annoying for larger dashboards

Lockhead avatar Sep 13 '24 11:09 Lockhead

This is still there on 2.17.1 and very annoying for larger dashboards

Lockhead avatar Nov 19 '24 11:11 Lockhead