opensearch-project / oui

OpenSearch UI Framework
Apache License 2.0
31 stars 65 forks source link

discovery table adds an scroll that is of no use #1211

Open yenienserrano opened 5 months ago

yenienserrano commented 5 months ago

Describe the bug

Sometimes the discovery table adds an scroll that is of no use. This happens when we search for a value in the search bar that returns only 1 page of the table and then change the search to return more pages of results.

To Reproduce Steps to reproduce the behavior:

  1. Navigate to Discover
  2. Click on the search bar input
  3. Search for a value that returns just 1 page result
  4. Search for another value that returns a few results

Expected behavior

It shouldn't render a scroll in the table

Screenshots

https://github.com/opensearch-project/oui/assets/63758389/317b7873-300b-4778-a4ce-4d0cee488adb

Host/Environment (please complete the following information):

Additional context

Add any other context about the problem here.

dblock commented 3 weeks ago

Want to try and fix this here @yenienserrano?

Catch All Triage - 1 2 3 4 5