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: undefined is not an object (evaluating 'e.touches[1].clientX' #3269

Open
7 tasks
UBarodzich opened this issue Aug 23, 2024 · 1 comment
Open
7 tasks
Assignees
Labels
bug A bug in the code of Cytoscape.js

Comments

@UBarodzich
Copy link

Environment info

  • Cytoscape.js version : ^3.30.0
  • Browser/Node.js & version : Chrome/Safari , node: 20.5.1

Current (buggy) behaviour

What does the bug do?

on an iPad or a laptop with a touch screen, make zoom in/out, make other actions like move to the left/right , after that I receive the following error:

image

Minimum steps to reproduce

What do you need to do to reproduce the issue?

Make primitive actions like zoom and move graph to the left/right, maybe hide from viewport using tablet or laptop with a touch screen

From external libraries I use:
cytoscape-edgehandles
cytoscape-popper
cytoscape-node-html-label

But I don't think they should affect the current problem.

For reviewers

Reviewers should ensure that the following tasks are carried out for incorporated issues:

  • Ensure that the reporter has included a reproducible demo. They can easily fork this JSBin demo: http://jsbin.com/fiqugiq
  • The issue has been associated with a corresponding milestone.
  • The commits have been incorporated into the corresponding branches. Bug-fix patches go on
    • master,
    • unstable, and
    • the previous feature release branch (e.g. 1.1.x if the current release is 1.2).
  • The issue has been labelled as a bug, if necessary.
@UBarodzich UBarodzich added the bug A bug in the code of Cytoscape.js label Aug 23, 2024
@mikekucera mikekucera self-assigned this Sep 17, 2024
@mikekucera
Copy link
Contributor

Can you provide a JSBin that can reproduce the error? I have nothing to go on here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug in the code of Cytoscape.js
Projects
None yet
Development

No branches or pull requests

2 participants