opensearch-project / dashboards-observability

Visualize and explore your logs, traces and metrics data in OpenSearch Dashboards
https://opensearch.org/docs/latest/observability-plugin/index/
Apache License 2.0
14 stars 46 forks source link

[BUG] Trace analytics UI: Clicking Span resets scroll bar #1916

Closed TackAdam closed 1 week ago

TackAdam commented 2 weeks ago

What is the bug? In Trace analytics - Trace Analytics page, clicking a span is reseting the scroll bar to the top.

How can one reproduce the bug? Steps to reproduce the behavior:

  1. Go to https://playground.opensearch.org/app/observability-traces#/traces
  2. Filter the date to include the last 5 years and refresh. Screenshot 2024-06-18 at 2 00 20 PM
  3. Click on the Trace ID to the left of "client_pay_order"
Screenshot 2024-06-18 at 2 00 56 PM
  1. Scroll down the list of spans and click "analyics-service Logging.Controller.save"

    Screenshot 2024-06-18 at 2 01 13 PM

    Click here:

    Screenshot 2024-06-18 at 2 01 26 PM
  2. See error: As the flyout opens the scrollbar is reset to the top.

    Screenshot 2024-06-18 at 2 01 39 PM

What is the expected behavior? The scrollbar should maintain its position prior to the click occurring.

What is your host/environment?

Do you have any screenshots? If applicable, add screenshots to help explain your problem.

Do you have any additional context? Add any other context about the problem.

TackAdam commented 1 week ago

Fixed with https://github.com/opensearch-project/dashboards-observability/pull/1917