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

Charts aren't displaying tooltips for overflow graphs #1625

Open
meganhng opened this issue Feb 6, 2024 · 1 comment
Open

Charts aren't displaying tooltips for overflow graphs #1625

meganhng opened this issue Feb 6, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@meganhng
Copy link

meganhng commented Feb 6, 2024

Bug summary

There was a change in v9.10.5 that caused charts to now display the tooltips of charts taht were renderd int he overflow of their parent container.

Code Sandbox v9.10.4 example
Code Sandbox v9.10.5 example

Expected behavior

Display the tooltips of charts that were rendered in the overflow of the parent's container when hovered over (tooltip functionality of v9.10.4).

Actual behavior

In the current version when you hover of the charts there is no tooltip displayed.

CodeSand Box example v10.4.1 (current version)

Steps to reproduce the problem

  1. install polaris viz version 9.10.5 or higher
  2. Add a charts within the parent container until there is overflow of the parent container
  3. scroll and hover over the charts that were rendered in the overflow section of the parent container

Reduced test case

Code Sandbox v9.10.4 example
Code Sandbox v9.10.5 example
Code Sandbox v10.4.1 example

Specifications

  • Polaris-Viz version number: 9.10.5 or higher
  • Browser: chrome
  • Device: Mac
  • Operating System: macOS Sonoma

Or run npx envinfo --system --binaries --browsers --npmPackages react,react-dom,@shopify/polaris-viz to provide specifications on your environment including version numbers, browser, device, and operating system.

Paste the results here:

@meganhng meganhng added the bug Something isn't working label Feb 6, 2024
@SyedAdeen
Copy link

downgrade the version first, then try running yarn add @shopify/polaris-viz@latest or npm install @shopify/polaris-viz@latest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants