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

Uncaught TypeError on mouseout event #843

Closed
2 tasks done
Johannes29 opened this issue Jan 20, 2023 · 2 comments · Fixed by ActivityWatch/aw-webui#397
Closed
2 tasks done

Uncaught TypeError on mouseout event #843

Johannes29 opened this issue Jan 20, 2023 · 2 comments · Fixed by ActivityWatch/aw-webui#397

Comments

@Johannes29
Copy link

  • I am on the latest ActivityWatch version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • OS name and version: Windows 11 version 22621.1105
  • ActivityWatch version: v0.12.1

Describe the bug

When the mouse leaves a "day" rect in this svg,
image

this error is thrown in the devtools console:

periodusage.js:111 Uncaught TypeError: Cannot read properties of undefined (reading 'undefined')
    at SVGRectElement.<anonymous> (periodusage.js:111:19)
    at SVGRectElement.<anonymous> (on.js:3:14)

To Reproduce

  1. Open the dashboard via the tray icon
  2. Click on Activity in the top left corner
  3. Move the mouse over a "day" rect
  4. Move the mouse outside of the "day" rect
  5. Open devtools console
  6. See error

Expected behavior

When the mouse leaves a "day" rect, no error should be thrown and the color should return to normal.

@github-actions
Copy link

Hi there!
As you're new to this repo, please make sure you've used an appropriate issue template and searched for duplicates (it helps us focus on actual development!). We'd also like to suggest that you read our contribution guidelines and our code of conduct.
Thanks a bunch for opening your first issue! 🙏

@BelKed
Copy link
Contributor

BelKed commented Jan 20, 2023

Duplicate of ActivityWatch/aw-webui#393

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

Successfully merging a pull request may close this issue.

2 participants