Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add toggle method to MoveCanvas to dynamically enable and disable movement #760

Open
arjangeertsema opened this issue Mar 12, 2023 · 1 comment
Labels
backlog Queued in backlog enhancement New feature or request

Comments

@arjangeertsema
Copy link

Is your feature request related to a problem? Please describe.

For documentation purposes BPMN.io is used to show BPMN processes in normal and fullscreen mode.

In normal mode the modules MoveCanvas and ZoomScroll should be disabled and in fullscreen mode these modules should be enabled.

ZoomScroll has the toggle method, this method is missing in the MoveCanvas module

Describe the solution you'd like

Add a toggle method to the MoveCanvas module as a non breaking change to enable and disable the canvas movement dynamicly.

Describe alternatives you've considered

The ReadOnly module is something similar but feels like a very drastic hack.

Context

I am willing to sponsor this feature

@nikku
Copy link
Member

nikku commented Mar 22, 2023

@arjangeertsema Thanks for opening this issue!

Your feature request makes sense. Toggle should be a common pattern.

Would you also contribute this improvement? Happy to provide you the necessary pointers.

@nikku nikku added the backlog Queued in backlog label Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Queued in backlog enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants