onNodeClick event does not fire when presenting graph in a window in a Teams meeting
Describe the bug When presenting a window (ex. browser), the onNodeClick event (pointer event) does not fire when clicking a node, which makes the graph unusable.
When presenting a screen, the event fires.
Maybe we could have another type of event instead of pointer event ? Or a customizable event ? Because I believe the problem comes from the fact that when presenting a window, pointer events are intercepted by the presentation instead of the graph.
Also, nodes are still draggable while presenting, which reinforces my supposition.
To Reproduce Steps to reproduce the behavior:
- Present the browser window containing a graph on Microsoft Teams
- Try clicking on a node of a graph
- Nothing happens
Expected behavior When presenting both window or screen, onNodeClick event should fire, something should happen after a click on a node.
Desktop (please complete the following information):
- OS: Windows 10 Enterprise (version 20H2)
- Browser: Microsoft Edge (version 1.5.00.14473, 64 bits)
- Presenting tool : Microsoft Teams (version 1.5.00.11163, 64 bits)
@TheoDeAna I'm not familiar enough with the rendering platform you mentioned (Microsoft Teams) to provide proper advice on this. But the click/drag functionality relies on rather standard browser pointer apis. So I would say that if your platform doesn't provide that, you'll probably find that many other web components will also not work there because this inherent functionality is missing.
Disabling node dragging makes this work. I think it thinks is dragging all the time and ignores the click