question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

When the cell can be selected but the multi-select box is not displayed, moving the parent node will cause other nodes to move deviation

See original GitHub issue
this.graph = new Graph({
      container: this.container,
      grid: { visible: true },
      selecting: {
        enabled: true,
        rubberband: true,
        showNodeSelectionBox: false
      },
    })

Expected Behavior

Select all nodes, drag the parent node, the coordinate changes normally

Current Behavior

When the cell can be selected but the multi-select box is not displayed, moving the parent node will cause other nodes to move deviation

Steps To Reproduce

Demo: https://codesandbox.io/s/loving-hofstadter-v04ow?file=/src/app.tsx:286-391

  1. …Select all three nodes
  2. …Move the parent node
  3. …circle node abnormal coordinate changes

Additional Context

Your Environment

  • x6: [latest]
  • OS: [e.g. Windows 10 Professional Edition 21H1]
  • Browser: [e.g. chrome 94.0.4606.81]

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

7reactions
yahiaouikcommented, Feb 1, 2022

Hello ! I am facing the same problem. When I’m moving multi-selected nodes, selected nodes position change anormaly.

https://user-images.githubusercontent.com/43521458/152003870-f813f0ee-a2b4-4bad-930b-18dd880417d8.mp4

Unlike the previous exemple, there is no parent-child relationship between nodes. It is not a systematic behavior.

Here is my graph definition :

const newGraph: Graph = new Graph({
      autoResize: true,
      container: document.getElementById('Canvas'),
      keyboard: {
        enabled: true,
      },
      mousewheel: {
        enabled: true,
      },
      panning: {
        enable: true,
      },
      selecting: {
        enabled: true,
        multiple: true,
        rubberband: true,
        movable: true,
        modifiers: ['shift'],
      },
      scroller: {
        enabled: true,
        pannable: true,
      },
      snapline: true,
      clipboard: {
        enabled: true,
      }
    });

Is there any way to fix the problem ?

Environment

x6: [latest] OS: [ubuntu 20] Browser: [chromium 97.0.4692.99 ]

0reactions
Benjaminrivardcommented, Jul 21, 2022

Please consider reopening this issue as it still occurs in our application

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multi Select <select> box on mobile devices - android
I have an interface which uses multi select listboxes with a css set height to populate other lists. Using jQuery, basically you select...
Read more >
2 Issues Resolved by Hot Fix Releases
Root Cause : 1. When the user chooses global selection, although Agile puts all Items into selected nodes, the system does not load...
Read more >
Query Studio User Guide
Query Studio is the reporting tool for creating simple queries and reports in Cognos 8, the. Web-based reporting solution. In Query Studio, you...
Read more >
1.4.1 Release - RMsis
Subsequently, requirements can be moved from this category to "Planned ... Multi-select will work only on the entities visible on the current page...
Read more >
NFIRS Incident Reporting
Tab's of a NFIRS Incident Report are Displayed ... The “additional info” that report would usually require will not be ... to multi...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found