Skip to content

Conversation

@pan-kot
Copy link
Member

@pan-kot pan-kot commented Oct 22, 2025

Description

The tooltip position on split panel open is fixed here: cloudscape-design/components#3958

In this PR I add a new test page to validate the behaviour and also fix the cartesian cursor, which should also recompute in case chart's width change.

Rel: AWSUI-61377

How has this been tested?

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

private targetTrack = new SVGRendererSingle();
private groupTrack = new SVGRendererSingle();

// Cached coordinates to update cursor's position on re-render.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If fixes were necessary on this package's side, shouldn't we have some coverage for this too?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense!

I updated the test page so that it opens the split panel on the given point on the page load, so that the screenshot test captures the desired outcome.

@pan-kot pan-kot added this pull request to the merge queue Nov 24, 2025
Merged via the queue into main with commit 5aa7283 Nov 24, 2025
43 of 44 checks passed
@pan-kot pan-kot deleted the fix-adjust-tooltip-pos-on-resize branch November 24, 2025 16:21
jsilll pushed a commit to jsilll/chart-components that referenced this pull request Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants