Conversation
There was a problem hiding this comment.
hey @alanlong9278 - great progress here and I'm glad we were able to use MarqueeSelection
some functional stuff that should be addressed:
- Some of the border edges are is not visible for me. Sometimes it's the bottom edge, sometimes it's the top and right edges.
- We should not track the bounds of the box outside the visual editor element. When it hits an edge, the selected area should no longer track the mouse and stay at the edge. If the mouse re-enters the visual editor element, the selected box should starting tracking the mouse again.
- There is no way to de-select the a selected state. Clicking on a node or clicking in the grey area around the nodes should de-select the current selected state.
- Hitting the bottom bounds of the visual editor parent element will scroll the page down. We should have the same behavior scrolling to the right of the visual editor.
Composer/packages/extensions/visual-designer/src/components/shared/StepRenderer.tsx
Outdated
Show resolved
Hide resolved
|
as I play with the control - you're right! that's not a great visual experience. i'm going to open an issue on the fabric-react project because I think that should be the default behavior. |
|
Not sure whether this falls within the scope of this, but the individual node selection is missing the implementation of the selected state. |
@cwhitten fix the bug with using |
Description
Drag Selection with Fabric MarqueeSelection, includes hover, focused and selected status behavior.
Known issue
layoutNodeandstepNodearea is overlap. SoifConditionnode will be selected when u just selected theifConditionchildNode. I will fix the bug in another pr that dividesstepRendererintolayoutRendererandleafRenderer.Task Item
Please include the link to the related work item, like fix Something is not working
Type of change
Please delete options that are not relevant.
Checklist
Screenshots