oui icon indicating copy to clipboard operation
oui copied to clipboard

discovery table adds an scroll that is of no use

Open yenienserrano opened this issue 1 year ago • 1 comments

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):

  • OUI Version: 1.3
  • OSD Version (if applicable): 2.10.0
  • OS: Windows / Ubuntu
  • Browser and version Chrome 120.0.6099.224

Additional context

Add any other context about the problem here.

yenienserrano avatar Jan 18 '24 10:01 yenienserrano