Title: Prevent dragging legend out of plot div? · Issue #2940 · plotly/plotly.js · GitHub
Open Graph Title: Prevent dragging legend out of plot div? · Issue #2940 · plotly/plotly.js
X Title: Prevent dragging legend out of plot div? · Issue #2940 · plotly/plotly.js
Description: Currently, if a plot is editable and set to a constrained size, it's possible to drag the legend out of the plot div and permanently "lose" it. It would be nice if the drag behavior was changed to prevent this, or to provide a config opt...
Open Graph Description: Currently, if a plot is editable and set to a constrained size, it's possible to drag the legend out of the plot div and permanently "lose" it. It would be nice if the drag behavior was changed to ...
X Description: Currently, if a plot is editable and set to a constrained size, it's possible to drag the legend out of the plot div and permanently "lose" it. It would be nice if the drag behavior w...
Opengraph URL: https://github.com/plotly/plotly.js/issues/2940
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Prevent dragging legend out of plot div?","articleBody":"Currently, if a plot is editable and set to a constrained size, it's possible to drag the legend out of the plot div and permanently \"lose\" it. It would be nice if the drag behavior was changed to prevent this, or to provide a config option to turn on constraints on dragging the legend (or anything, really) out of the plot div.","author":{"url":"https://github.com/brian428","@type":"Person","name":"brian428"},"datePublished":"2018-08-22T19:15:07Z","url":"https://github.com/plotly/plotly.js/issues/2940"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3c4a9c3f-b495-508e-bc26-9076e6ca87b8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AC40:2BE220:3087056:40BF163:6B01EA90 |
| html-safe-nonce | aea33bf6d2da2695a96a1d89ec0ab5940559db4a489d29f6284a198791579166 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzQwOjJCRTIyMDozMDg3MDU2OjQwQkYxNjM6NkIwMUVBOTAiLCJ2aXNpdG9yX2lkIjoiMzE0NDEyNTMyMTg2Mzg4MzQwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a94db0c6fa31ac93d4ecd1221057f07fddb6ce16cbeb91fcfa639c6c2e0becaa |
| hovercard-subject-tag | issue:353087108 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/plotly.js/2940/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4a4238e4bf7c4323a3382eadc18d5e55ace11dd2a33e7e9ef6844139a3188ca9/plotly/plotly.js/issues/2940 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4a4238e4bf7c4323a3382eadc18d5e55ace11dd2a33e7e9ef6844139a3188ca9/plotly/plotly.js/issues/2940 |
| og:image:alt | Currently, if a plot is editable and set to a constrained size, it's possible to drag the legend out of the plot div and permanently "lose" it. It would be nice if the drag behavior was changed to ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | brian428 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 45646037 |
| octolytics-dimension-repository_nwo | plotly/plotly.js |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 45646037 |
| octolytics-dimension-repository_network_root_nwo | plotly/plotly.js |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width