Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

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

Closed
maxmitti opened this issue Nov 23, 2022 · 1 comment

Comments

@maxmitti
Copy link

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.

@gvwilson
Copy link
Contributor

gvwilson commented Jul 4, 2024

Hi - we are trying to tidy up the stale issues and PRs in Plotly's public repositories so that we can focus on things that are still important to our community. Since this one has been sitting for several years, I'm going to close it; if it is still a concern, please add a comment letting us know what recent version of our software you've checked it with so that I can reopen it and add it to our backlog. Thanks for your help - @gvwilson

@gvwilson gvwilson closed this as completed Jul 4, 2024
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

No branches or pull requests

2 participants