Skip to content

Split generic scrollable paper component Paper from diagram-specific state and logic#132

Merged
AlexeyMz merged 1 commit intomasterfrom
split-paper-from-diagram-model
Mar 20, 2026
Merged

Split generic scrollable paper component Paper from diagram-specific state and logic#132
AlexeyMz merged 1 commit intomasterfrom
split-paper-from-diagram-model

Conversation

@AlexeyMz
Copy link
Member

@AlexeyMz AlexeyMz commented Mar 16, 2026

  • Replace reactodia-paper-area CSS class by reactodia-canvas-area and reactodia-paper.
  • Deprecate CanvasMetrics.area in favor of CanvasMetrics.pane.
  • Allow to move and resize elements on touchscreen;
  • Allow to manipulate link vertices on touchscreen (only in Firefox for now due to bug);
  • Allow to select multiple elements with Selection with touch when CanvasApi.pointerMode is selection.
  • Allow to establish new links with SelectionActionEstablishLink on touchscreen.
  • Enable showPointerModeToggle on ZoomControl by default (can be disabled by passing false).
  • Provide onlySelected property to link templates the same way as for element templates.

@AlexeyMz AlexeyMz force-pushed the split-paper-from-diagram-model branch 8 times, most recently from 739cc2f to fbd670a Compare March 20, 2026 20:34
…c state and logic:

* Replace `reactodia-paper-area` CSS class by `reactodia-canvas-area` and `reactodia-paper`.
* Deprecate `CanvasMetrics.area` in favor of `CanvasMetrics.pane`.
* Allow to move and resize elements on touchscreen;
* Allow to manipulate link vertices on touchscreen (only in Firefox for now due to the [bug](https://gsap.com/community/forums/topic/15870-svg-draggable-chrome-android-problems/));
* Allow to select multiple elements with `Selection` with touch when `CanvasApi.pointerMode` is `selection`.
* Allow to establish new links with `SelectionActionEstablishLink` on touchscreen.
* Enable `showPointerModeToggle` on `ZoomControl` by default (can be disabled by passing `false`).
* Provide `onlySelected` property to link templates the same way as for element templates.
@AlexeyMz AlexeyMz force-pushed the split-paper-from-diagram-model branch from fbd670a to 6c4a932 Compare March 20, 2026 21:09
@AlexeyMz AlexeyMz merged commit 5e6cd34 into master Mar 20, 2026
4 checks passed
@AlexeyMz AlexeyMz deleted the split-paper-from-diagram-model branch March 20, 2026 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant