vis-network: clickToUse error?

Hi - I’m using v5.4.1. I’m using timeline and network in the same UI. When I set clickToUse to true I get the following error on first click… Any ideas? Thanks.

bundle.js:91678 Uncaught TypeError: e.stopPropagation is not a function
    at no._onTapOverlay (bundle.js:91678)
    at le.emit (bundle.js:91708)
    at re.emit (bundle.js:91708)
    at re.tryEmit (bundle.js:91708)
    at recognize (bundle.js:91708)
    at le.recognize (bundle.js:91708)
    at F.C [as callback] (bundle.js:91708)
    at F.handler (bundle.js:91708)
    at domHandler (bundle.js:91708)
no._onTapOverlay @ bundle.js:91678
emit @ bundle.js:91708
emit @ bundle.js:91708
tryEmit @ bundle.js:91708
recognize @ bundle.js:91708
recognize @ bundle.js:91708
C @ bundle.js:91708
handler @ bundle.js:91708
domHandler @ bundle.js:91708
bundle.js:91678 Uncaught TypeError: e.stopPropagation is not a function
    at Array.<anonymous> (bundle.js:91678)
    at le.emit (bundle.js:91708)
    at ie.emit (bundle.js:91708)
    at ie.tryEmit (bundle.js:91708)
    at ie.<anonymous> (bundle.js:91708)
    at bundle.js:91708

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 17 (7 by maintainers)

Commits related to this issue

Most upvoted comments

Hi @UnicornDeluxe and anyone else who’s interested,

until @mojoaxel reviews #77 and #132 you can get fix for both from https://github.com/Thomaash/vis-network/tree/issues/4and121 trough GitHack for example https://rawcdn.githack.com/Thomaash/vis-network/issues/4and121/dist/vis-network.js.