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]: Select event is not working in strict mode. #708

Open
1 task
harichandu1 opened this issue Apr 13, 2023 · 1 comment
Open
1 task

[Bug]: Select event is not working in strict mode. #708

harichandu1 opened this issue Apr 13, 2023 · 1 comment
Labels

Comments

@harichandu1
Copy link

harichandu1 commented Apr 13, 2023

Would you like to work on a fix?

  • Check this if you would like to implement a PR, we are more than happy to help you go through the process.

Current and expected behavior

<Chart
chartEvents={[
{
eventName: "select",
callback: ({ chartWrapper }) => {
console.log('-------- console is not getting printed-')
const chart = chartWrapper.getChart();

      },
    },
  ]}
  chartType="GeoChart"
  width="100%"
  height="100vh"
  data={data}

/>

Reproduction

https://codesandbox.io/s/bold-fire-4x46vb?file=/App.tsx

react-google-charts version

v4.0.0

Possible solution

No response

@dorlanpabon
Copy link
Contributor

Post a pull request for solve this problem #709

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants