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] Allow clicking back to top in Discover #6007

Closed
wants to merge 1 commit into from

Conversation

ananzh
Copy link
Member

@ananzh ananzh commented Mar 3, 2024

Description

The original window.scrollTo(0, 0) will reset the window back but not table. In this PR, we add a table wrapper to allow scroll back on table.

Issues Resolved

#6006

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

…g to top

The original window.scrollTo(0, 0) will reset the window back but not
table. In this PR, we add a table wrapper to allow scroll back on table.

Issue Resolve:
opensearch-project#6006

Signed-off-by: Anan Zhuang <ananzh@amazon.com>
@ananzh ananzh added bug Something isn't working discover for discover reinvent v2.13.0 labels Mar 3, 2024
@ananzh
Copy link
Member Author

ananzh commented Mar 3, 2024

Add Function Test Suite 11: Infinity Scroll in Legacy Table in #5713 to function meta issue.
We will add a new test suite in the functional test repo to test this bug.

@ananzh
Copy link
Member Author

ananzh commented Mar 4, 2024

Found a more standard solution using EuiPanel panelRef, raising a new one #6008

@ananzh ananzh closed this Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working discover for discover reinvent distinguished-contributor v2.13.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants