LogicAppsUX icon indicating copy to clipboard operation
LogicAppsUX copied to clipboard

Edge button blocking mouse events

Open rllyy97 opened this issue 3 years ago • 7 comments
trafficstars

If you click and drag what you think is the background next to an edge's add-node button, the drag is blocked by the drop target on the edge button.

This blocks any mouse interaction like primary/secondary clicks as well.

bugbash-blocked_drag_target

AB#15952523

rllyy97 avatar Oct 21 '22 21:10 rllyy97

❌ There was a problem linking to Azure Boards work item(s):

  • 15952523

Please check the IDs and try again using the AB# syntax. Learn more

azure-boards[bot] avatar Feb 06 '24 16:02 azure-boards[bot]

❌ There was a problem linking to Azure Boards work item(s):

  • 15952523

Please check the IDs and try again using the AB# syntax. Learn more

azure-boards[bot] avatar Feb 06 '24 16:02 azure-boards[bot]

❌ There was a problem linking to Azure Boards work item(s):

  • 15952523

Please check the IDs and try again using the AB# syntax. Learn more

azure-boards[bot] avatar Feb 06 '24 17:02 azure-boards[bot]

❌ There was a problem linking to Azure Boards work item(s):

  • 15952523

Please check the IDs and try again using the AB# syntax. Learn more

azure-boards[bot] avatar Feb 06 '24 17:02 azure-boards[bot]

❌ There was a problem linking to Azure Boards work item(s):

  • 15952523

Please check the IDs and try again using the AB# syntax. Learn more

azure-boards[bot] avatar Feb 06 '24 19:02 azure-boards[bot]

I experimented with making the following changes, but they reduced the target area of the drag and drop functionality, thus not pursuing.

  • libs\designer-ui\src\lib\actionbuttonv2\actionbuttonv2.less
.msla-action-button-v2 {
  ...
  pointer-events: auto; /* This ensures the button inside the drop zone is clickable */
}
  • libs/designer/src/lib/ui/styles.less
.edgebutton-foreignobject {
  ...
  pointer-events: none; /* This makes the drop zone "invisible" to mouse events */
}

Ryanb58 avatar Apr 05 '24 21:04 Ryanb58

GIF to go along with previous comment.

4BEF63AE-1701-47B5-BDF8-AAA36BCD78EF

Ryanb58 avatar Apr 05 '24 21:04 Ryanb58

Just tested locally and this has been resolved in our upcoming release

rllyy97 avatar Dec 31 '24 19:12 rllyy97