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

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

Open
joshuarrrr opened this issue Dec 14, 2023 · 5 comments · May be fixed by #6990
Labels
bug Something isn't working tableVis table visualization v2.16.0

Comments

@joshuarrrr
Copy link
Member

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: #3485

@Lockhead
Copy link

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

@Lockhead
Copy link

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

l0rdn1kk0n added a commit to l0rdn1kk0n/OpenSearch-Dashboards that referenced this issue Jun 10, 2024
@l0rdn1kk0n l0rdn1kk0n linked a pull request Jun 10, 2024 that will close this issue
8 tasks
l0rdn1kk0n added a commit to l0rdn1kk0n/OpenSearch-Dashboards that referenced this issue Jun 11, 2024
Signed-off-by: Michael Haitz <admin@doridina.de>
@AMoo-Miki
Copy link
Collaborator

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.

@Lockhead
Copy link

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

@Lockhead
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tableVis table visualization v2.16.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants