Skip to content

[BUG] Cannot read properties of null (reading 'clientX') #1572

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

Closed
CYO9000 opened this issue Jan 15, 2025 · 5 comments
Closed

[BUG] Cannot read properties of null (reading 'clientX') #1572

CYO9000 opened this issue Jan 15, 2025 · 5 comments
Labels
bug Something isn't working fixed

Comments

@CYO9000
Copy link

CYO9000 commented Jan 15, 2025

Hey first of all thank you so much for this awesome project! I really enjoy working with fuxa on my projects and never had major issues while doing so. However yesterday i encountered a strange issue when trying to open a card via $opencard in script. Today i tried resolving this issue by installing different versions of fuxa, trying different browsers and looking in code with the help of chatgpt. Unfortunately i wasnt successful and im stuck with this issue. Does anybody have an idea what causes this? Here is an example project which causes this issue on my end:
test.json

Describe the bug
When running a script which uses $opencard nothing happens and an error is reported in console.

To Reproduce
In the attached project click the button on MainView.

Screenshots
image

Environment

  • FUXA version: 1.2.3-2106
  • Node.js version: 18.20.5
  • npm version: 10.8.2
  • Platform/OS: Windows 10
  • Browser: Chrome/Edge/Firefox
@unocelli unocelli added the bug Something isn't working label Jan 16, 2025
@unocelli
Copy link
Member

Thanks for the report

unocelli added a commit that referenced this issue Jan 16, 2025
@mauroalexandre
Copy link
Contributor

@unocelli Now that I see you have already fixed it, ignore PR #1578 , sorry

@CYO9000
Copy link
Author

CYO9000 commented Jan 18, 2025

I installed the master-branch and it works as expected thanks a lot!

@unocelli
Copy link
Member

@mauroalexandre Sorry, I forgot to notify you that I am in charge of it. Thanks.

@unocelli unocelli added the fixed label Jan 19, 2025
@unocelli
Copy link
Member

unocelli commented Mar 4, 2025

I’m going to close this as resolved. let me know if you have any issues.

@unocelli unocelli closed this as completed Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fixed
Projects
None yet
Development

No branches or pull requests

3 participants