Skip to content

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

@CYO9000

Description

@CYO9000

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions