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

TypeError: Cannot read property 'xPos' of undefined #265

Closed
CristianWesleyFront opened this issue Feb 22, 2020 · 9 comments
Closed

TypeError: Cannot read property 'xPos' of undefined #265

CristianWesleyFront opened this issue Feb 22, 2020 · 9 comments

Comments

@CristianWesleyFront
Copy link

Expected Behaviour

Allow you to freely click the screen

Actual Behaviour

Uncaught TypeError: Cannot read property 'xPos' of undefined
at e.value (AxisChart.js:408)
at HTMLDivElement. (AxisChart.js:394)

Steps to Reproduce:

  • v1.3.0 and react v16.12.0
  • render line graphic
  • Click many times in and out of the graphic

NOTE: Add a GIF/Screenshot if required.
image
image

Frappé Charts version: 1.3.0

@mrto1
Copy link

mrto1 commented Feb 22, 2020

Same here.

@CristianWesleyFront
Copy link
Author

In version: 1.2.4 is working

@faburem
Copy link

faburem commented Mar 17, 2020

I am experiencing the same issue and can also confirm that this is working fine in version 1.2.4 so it seems to be a regression in 1.3.0.

@Groxan
Copy link

Groxan commented Mar 21, 2020

I've faced the same issue.

Just wanted to clarify that in my case an exception is thrown when you move the mouse to the left of the first point (in the y-axis labels area).

frappe-chart

@mrto1
Copy link

mrto1 commented Mar 26, 2020

Still no solution?

1 similar comment
@mrto1
Copy link

mrto1 commented Mar 26, 2020

Still no solution?

@bmuller
Copy link

bmuller commented Apr 30, 2020

Hey @scmmishra - thanks for an awesome project! This seems to be a duplicate of #248, which was fixed a while ago.

I'd love to use this lib in a big project - but can't as long as there's no new release on NPM. This (and many other) bugs have been fixed, can you publish at least a minor version bump? Thanks!

@scmmishra
Copy link
Contributor

Yeah, the fix was merged a while ago. I've released 1.3.2 with multiple new fixes.

@bmuller
Copy link

bmuller commented Apr 30, 2020

Great - thanks so much @scmmishra !

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

6 participants