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

Tooltips are not working with Yarn3 PnP Berry in Pie, Bar, other charts #2435

Closed
unrealsolver opened this issue Sep 26, 2023 · 1 comment
Closed

Comments

@unrealsolver
Copy link

Describe/explain the bug
Moving cursor over a pie chart crashes the app. Am I missing

To Reproduce
This can not be reproduced in regular node_modules repo, I think it's required to use Yarn PnP. Basically, you just need this:

        <ResponsivePie
          data={[
            { id: "a", label: "a", value: 10 },
            { id: "b", label: "b", value: 20 },
          ]}

and then move cursor over the chart.

Expected behavior
To see a tooltip

Screenshots
I assume this context should not be undefined, but it is for some reason:
image
image

Desktop (please complete the following information):

  • OS: GNU/Linux
  • Browser Firefox
  • Version 118

Additional context
package.json:

    "@nivo/core": "^0.83.0",
    "@nivo/pie": "^0.83.0",
    "@nivo/tooltip": "^0.83.0",

.yarnrc.yml

yarnPath: .yarn/releases/yarn-3.6.0.cjs
@plouc
Copy link
Owner

plouc commented Mar 11, 2024

Should have been solved by #2528.

@plouc plouc closed this as completed Mar 11, 2024
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

No branches or pull requests

2 participants