Title: items incorrectly re-ordered during a drag with maxRow · Issue #1534 · gridstack/gridstack.js · GitHub
Open Graph Title: items incorrectly re-ordered during a drag with maxRow · Issue #1534 · gridstack/gridstack.js
X Title: items incorrectly re-ordered during a drag with maxRow · Issue #1534 · gridstack/gridstack.js
Description: the items (float: false) are incorrectly re-ordered when dragging one out Your environment version 3.1.2 h5, chrome broke in 2.0.2 https://github.com/gridstack/gridstack.js/releases/tag/v2.0.2 Steps to reproduce using upcoming collision ...
Open Graph Description: the items (float: false) are incorrectly re-ordered when dragging one out Your environment version 3.1.2 h5, chrome broke in 2.0.2 https://github.com/gridstack/gridstack.js/releases/tag/v2.0.2 Step...
X Description: the items (float: false) are incorrectly re-ordered when dragging one out Your environment version 3.1.2 h5, chrome broke in 2.0.2 https://github.com/gridstack/gridstack.js/releases/tag/v2.0.2 Step...
Opengraph URL: https://github.com/gridstack/gridstack.js/issues/1534
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"items incorrectly re-ordered during a drag with maxRow","articleBody":"the items (float: false) are incorrectly re-ordered when dragging one out\r\n## Your environment\r\n* version 3.1.2 h5, chrome\r\n\r\nbroke in 2.0.2 https://github.com/gridstack/gridstack.js/releases/tag/v2.0.2\r\n\r\n## Steps to reproduce\r\nusing upcoming collision test case. drag item 3 out, noticed both columns changes and incorrectly re-orders items...\r\nhappens with `maxRow:3` only\r\n\r\n```js\r\n let grid = GridStack.init({float: false, cellHeight: 70, row: 3});\r\n addEvents(grid);\r\n\r\n let count = 0;\r\n let items = [\r\n {x:0, y:0}, {x:0, y:1}, {x:0, y:2}, {x:1, y:0}, {x:1, y:1}, {x:1, y:2}\r\n ];\r\n items.forEach(n => n.content = String(count++))\r\n grid.load(items);\r\n```\r\n\r\n\r\n","author":{"url":"https://github.com/adumesny","@type":"Person","name":"adumesny"},"datePublished":"2020-12-13T19:02:35Z","url":"https://github.com/gridstack/gridstack.js/issues/1534"}
| 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:7da39a77-f061-3f00-6e96-955280819483 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AC50:DB75E:33DAC:4986B:6AFEBC28 |
| html-safe-nonce | 3263d38c8f8c3de515097b60c66bd821217ed4c2aab3df6b0e77b900ecb69ca7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzUwOkRCNzVFOjMzREFDOjQ5ODZCOjZBRkVCQzI4IiwidmlzaXRvcl9pZCI6IjUwMTY2MTE0OTk2MjAwODg4NzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | fc9938f054586a81b2434029cf289ec9f5427da577ecd03ce6073e5b64e7c23c |
| hovercard-subject-tag | issue:765599481 |
| 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/gridstack/gridstack.js/1534/issue_layout |
| twitter:image | https://opengraph.githubassets.com/944c02655bca903977d4112c8d3541d49e0b9659a707540510538097d6f8f36f/gridstack/gridstack.js/issues/1534 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/944c02655bca903977d4112c8d3541d49e0b9659a707540510538097d6f8f36f/gridstack/gridstack.js/issues/1534 |
| og:image:alt | the items (float: false) are incorrectly re-ordered when dragging one out Your environment version 3.1.2 h5, chrome broke in 2.0.2 https://github.com/gridstack/gridstack.js/releases/tag/v2.0.2 Step... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | adumesny |
| hostname | github.com |
| expected-hostname | github.com |
| None | 95b2753c978240785d6cca00783c00a371b2d7d9879bb32e305170a1b19bd28e |
| turbo-cache-control | no-preview |
| go-import | github.com/gridstack/gridstack.js git https://github.com/gridstack/gridstack.js.git |
| octolytics-dimension-user_id | 31674162 |
| octolytics-dimension-user_login | gridstack |
| octolytics-dimension-repository_id | 26417283 |
| octolytics-dimension-repository_nwo | gridstack/gridstack.js |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 26417283 |
| octolytics-dimension-repository_network_root_nwo | gridstack/gridstack.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 | e1ce4c46d35aa8463a597a1bbffd4f0a456edb38 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width