Skip to content

Latest commit

 

History

History
76 lines (45 loc) · 4.94 KB

CHANGELOG.md

File metadata and controls

76 lines (45 loc) · 4.94 KB

@reactflow/node-toolbar

1.1.1

Patch Changes

1.1.0

Patch Changes

1.1.0-next.1

Minor Changes

  • panOnDrag: Use numbers for prop ([1,2] = drag via middle or right mouse button) selection: do not include hidden nodes minimap: fix onNodeClick for nodes outside the viewport keys: allow multi select when input is focused

Patch Changes

  • Updated dependencies []:
    • @reactflow/core@11.4.0-next.1

1.1.0-next.0

Minor Changes

  • #2678 baa8689e Thanks @moklick! - ## New Features

    New props for the ReactFlow component to customize the controls of the viewport and the selection box better:

    1. selectionOnDrag prop: Selection box without extra button press (need to set panOnDrag={false} or panOnDrag="RightClick"`)
    2. panOnDrag="RightClick" option
    3. panActivationKeyCode="Space" key code for activating dragging (useful when using selectionOnDrag)
    4. selectionMode={SelectionMode.Full}: you can chose if the selection box needs to contain a node fully (SelectionMode.Full) or partially (SelectionMode.Partial) to select it
    5. onSelectionStart and onSelectionEnd events

Patch Changes

1.0.2

Patch Changes

1.0.1

Patch Changes

1.0.0

Major Changes

  • #2563 98116d43 Thanks @chrtze! - Export a new component "NodeToolbar" that renders a fixed element attached to a node