Skip to content

[Feature Request] Limit resize and move directions of persistent selection like selectdirection #6378

Closed
@maxmitti

Description

@maxmitti

For creating selections with dragmode: 'select' it is possible to limit possible directions using the selectdirection attribute.
It would be useful to have a similar attribute to limit the directions in which a persistent selection (as added with #6243) can be resized and moved.

At the moment persistent selections are not useful when selectdirection is limited to one direction, since undesirable selections can be created by resizing or moving the selection box.

I have created an example with the mentioned settings: https://jsfiddle.net/9a083t75/
I would like to be able to change the example, such that after creating a selection by dragging, the resulting selection can also only be resized or moved horizontally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions