frankframework / frankframework/frank-flow

Panzoom should only work on canvas, not the containing div

Open
#276 2 comments 0 reactions 0 assignees View on GitHub
2.0 bug
Dominant language
TypeScript
Stars
33
Forks
9
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Panzoom center function doesn't work because it centers the whole div where the canvas is located in.

**Reporter**
@philipsens

**Category**

- Flow

**To Reproduce**
Steps to reproduce the behavior:

1. Drag outside of canvas or try to center a small canvas

**Expected behavior**
Center of canvas

**Screenshots**
![image](https://user-images.githubusercontent.com/12416423/144241106-61c9fce3-aac3-4319-896d-f6d00fd7a76d.png)

**Additional context**
The arrows are also being dragged and zoomed, maybe they should float like the action buttons.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.