opensearch-project / OpenSearch-Dashboards

📊 Open source visualization dashboards for OpenSearch.
https://opensearch.org/docs/latest/dashboards/index/
Apache License 2.0
1.66k stars 870 forks source link

[BUG] [Discover] Inner scrollbar on datagrid #5231

Open joshuarrrr opened 12 months ago

joshuarrrr commented 12 months ago

Describe the bug

When scrolling vertically in the data grid of results, there's are two scrollbars - one in the datagrid section, and the other for the page. In this

Expected behavior

In the video, I'm scrolling using the MacBook touchpad - it can't scroll smoothly because there's a delay as the scroll context switches between containers.

OpenSearch Version 2.11

Dashboards Version 2.11

Plugins

Please list all plugins currently enabled.

Screenshots

https://github.com/opensearch-project/OpenSearch-Dashboards/assets/1679762/1b0e7d1e-22ac-437d-97e2-bf6b1c39af87

If applicable, add screenshots to help explain your problem.

Host/Environment (please complete the following information):

Additional context

Add any other context about the problem here.

BigSamu commented 11 months ago

@joshuarrrr @ananzh you can give me this issue

BigSamu commented 10 months ago

@joshuarrrr @ananzh, I am leaving this issue for the midtime so I can focus on the CHANELOG project we are working towards the OSCI Programme. I can take a look back at this issue later, once finishing the project itself.

ashwin-pc commented 9 months ago

https://github.com/opensearch-project/OpenSearch-Dashboards/assets/20453492/214e1d73-e4b1-48d7-b7b5-281254261b59

Can you add steps to reliably reproduce this? Here is a recording of me trying to reproduce this on playgrounds OS 2.11 and im not able to.

ashwin-pc commented 9 months ago

@joshuarrrr thanks for confirming. This seems to be a firefox specific bug, does not occur on chrome or chromium browsers. Does not happen on safari either.

BSmith-87 commented 8 months ago

Hi,

I just wanted to add a note that I run into the scrolling issue with Chromium based browsers. In the second video above, there appears to only be a single scroll bar. In the first video posted above, there is two. This is the same experience that we have. There is a scroll bar for the entire page, and then there is a scroll bar for just the document list. Having both of these at the same time causes the issue.