peterkogo
7238977e7a
make sure elements are deselected once the selection starts
2025-10-28 12:35:41 +01:00
peterkogo
f29adb8353
only prevent pointer events when starting selection box on top of node
2025-10-28 12:20:47 +01:00
peterkogo
5d0887c9db
cleanup paneClickDistance remnants
2025-10-28 11:46:33 +01:00
peterkogo
2fb4933506
make sure onSelectionEnd is always fired
2025-10-28 11:42:51 +01:00
moklick
e743054b7e
chore(pane): cleanup
2025-10-28 09:29:00 +01:00
peterkogo
1f43ccc3ab
fix onSelectionEnd behavior
2025-10-27 15:53:06 +01:00
peterkogo
fa7bf16ce3
allow paneClick events to happen more leniantly
2025-10-27 15:35:03 +01:00
peterkogo
f8c547d92f
remove setPaneClickDistance from store and update it declaritively
2025-10-27 12:06:53 +01:00
moklick
ac423f3880
chore(selection): handle selectionOnDrag in click capture
2025-10-16 15:50:48 +02:00
moklick
cefd92664d
chore(selection): handle selectionOnDrag
2025-10-16 11:33:58 +02:00
moklick
a16fc575c8
chore(pane): cleanup
2025-10-16 10:33:47 +02:00
moklick
072d10da85
chore(pane): cleanup
2025-10-15 16:28:01 +02:00
peterkogo
3993b00782
simplify logic
2025-10-15 16:19:08 +02:00
moklick
75aff8ef26
refactor(selection): make it possible to start a selection above a node #5342
2025-10-15 15:15:07 +02:00
braks
4891e9cc1c
fix(react,svelte): prevent pane click when connection is in progress
2025-02-28 07:38:44 +01:00
moklick
d8ab3bf0bd
chore(hooks): tsdoc update
2025-02-11 13:59:17 +01:00
Moritz Klack and GitHub
cdca1c55d1
Merge pull request #4880 from crimx/patch-2
...
Fix type check for all event targets
2025-01-10 10:27:19 +01:00
peterkogo
748c140146
fixes
2025-01-08 17:12:12 +01:00
peterkogo
228ea770a3
let let be const
2025-01-08 17:01:57 +01:00
peterkogo
4947f683b7
Move areSetsEqual to system
2025-01-08 16:09:20 +01:00
peterkogo
a893cddf8f
Port enhanced selection logic from svelte to react
2025-01-08 16:05:28 +01:00
CRIMX
b7b5032c02
fix(system): safe check all event target
2024-12-10 12:56:30 +08:00
peterkogo
6af9f45a74
Cursor grab only shown if left click is panning
2024-08-19 11:56:08 +02:00
peterkogo
96b2795f48
only capture pointer for when selection is starting
2024-07-30 13:42:49 +02:00
moklick
9b8486b39f
fix(selection): dont trigger onSelectionEnd on click
2024-07-15 14:38:46 +02:00
moklick
4062a24add
fix(selection): handle pointer capture for selectionOnDrag closes #4418
2024-07-10 14:14:24 +02:00
moklick
609f7ed792
refactor(positions): remove unused node origins
2024-06-27 15:03:35 +02:00
Peter Kogo and GitHub
86438a954f
Better selection usability ( #4379 )
...
* use pointer capture for selection boxes
* fixed selection box behaviour
* promoted modifier listeners to window level
* selection should still happen when shift key is let go during selection
* ported changes to svelte flow
* review changes
2024-06-19 17:05:04 +02:00
moklick
6bab47fcb7
refactor(node-selection): cleanup
2024-04-17 12:34:31 +02:00
moklick
ea18e46a1a
refactor(nodes): rename computed to measured, add helpers
2024-04-03 14:54:24 +02:00
moklick
844d574c4f
refactor(react): separate user nodes and indernal nodes
2024-03-27 11:22:43 +01:00
moklick
fd2e131a9c
chore(react): dont use position fixed
2024-03-07 13:41:46 +01:00
moklick
018c800a06
react(pane): position fixed
2024-03-07 13:21:58 +01:00
moklick
9565689dfc
fix(react): select nodes with selection in uncontrolled flows
2024-03-06 18:06:34 +01:00
peterkogo
9fb4979631
Pane: only use cursor grab when panOnDrag=true
2024-02-21 07:41:56 +01:00
moklick
61f8e00541
chore(react): cleanup exports
2024-01-08 13:26:14 +01:00
moklick
4143591d96
refactor(react): dont create new edge objects on setEdges
2023-12-18 17:03:48 +01:00
Moritz Klack and GitHub
bd922889b4
feat(styles): one stylesheet source for react and svelte ( #3350 )
...
* feat(styles): create stylesheets for react and svelte based on one source
* refactor(styling): cleanup
* refactor(postcss): share a config
* refactor(postcss): replace env hack with env file
2023-08-24 14:02:57 +02:00
moklick
a41ec8f1bc
chore(react): cleanup
2023-06-12 17:21:02 +02:00
moklick
c6501aff62
refactor(react): use array for nodeInternals, rename to nodes
2023-06-12 16:56:02 +02:00
moklick
8354759f57
refactor(packages): change package structure
2023-06-05 15:40:18 +02:00