Title: How to auto arrange nested items in grid after resizing the container of the nested items? · Issue #814 · gridstack/gridstack.js · GitHub
Open Graph Title: How to auto arrange nested items in grid after resizing the container of the nested items? · Issue #814 · gridstack/gridstack.js
X Title: How to auto arrange nested items in grid after resizing the container of the nested items? · Issue #814 · gridstack/gridstack.js
Description: Type of Issue [ ] Bug [ ] Feature Request [ X ] Question Subject of the issue Is it possible to manually trigger re calculation of item position? (similar to when dragging an item, and other items make way for the item being dragged) I a...
Open Graph Description: Type of Issue [ ] Bug [ ] Feature Request [ X ] Question Subject of the issue Is it possible to manually trigger re calculation of item position? (similar to when dragging an item, and other items ...
X Description: Type of Issue [ ] Bug [ ] Feature Request [ X ] Question Subject of the issue Is it possible to manually trigger re calculation of item position? (similar to when dragging an item, and other items ...
Opengraph URL: https://github.com/gridstack/gridstack.js/issues/814
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"How to auto arrange nested items in grid after resizing the container of the nested items?","articleBody":"## Type of Issue\r\n[ ] Bug\r\n[ ] Feature Request\r\n[ X ] Question\r\n\r\n## Subject of the issue\r\nIs it possible to manually trigger re calculation of item position? (similar to when dragging an item, and other items make way for the item being dragged)\r\n\r\nI am working on nested grids and I have successfully managed to correct the number of columns in a nested grid, if the nested grid's container's size was changed. But then it leaves the nested items in a weird state. I was wondering if there was a way to trigger manual re positioning of items in the grid.\r\n\r\n## Your environment\r\nGridStack 0.3.0\r\nGoogle Chrome \r\nVersion 61.0.3163.100 (Official Build) (64-bit)\r\n\r\n## Steps to reproduce\r\nPreview the issue at codepen.\r\nhttps://codepen.io/nissim/pen/bYgjvb\r\n\r\n## Expected behaviour\r\nI know that auto positioning is not the expected behavior but I would like to find out how tp.\r\n\r\n## Actual behaviour\r\n- Item disappears from visible area, if container resized to too small.\r\n- Item overlaps\r\n- If after resizing, item it moved then position is adjusted correctly.\r\n- If resized back to original size, all elements appear \r\n","author":{"url":"https://github.com/nissimpradhan","@type":"Person","name":"nissimpradhan"},"datePublished":"2017-11-09T20:28:01Z","url":"https://github.com/gridstack/gridstack.js/issues/814"}
| 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:89b32306-3824-0c17-abcc-1c3fc0e2017b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 92F4:324694:F2AB9E:1377D55:6AFF549C |
| html-safe-nonce | 45ab35196968c37d3d29034400d29ceccba457b059f38ee70b921d91afbce205 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkY0OjMyNDY5NDpGMkFCOUU6MTM3N0Q1NTo2QUZGNTQ5QyIsInZpc2l0b3JfaWQiOiI3MzQ3NDI0MzEwNTI2NDMyNDEyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 3be8f6cc460650e6e513b02f247b60c1afefebfe06c0ee931845a2d643e28f91 |
| hovercard-subject-tag | issue:272713203 |
| 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/814/issue_layout |
| twitter:image | https://opengraph.githubassets.com/442099473491a550b8d0ad7fd1344c94c52cf7997eaead55ec01a58fc7d40fe2/gridstack/gridstack.js/issues/814 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/442099473491a550b8d0ad7fd1344c94c52cf7997eaead55ec01a58fc7d40fe2/gridstack/gridstack.js/issues/814 |
| og:image:alt | Type of Issue [ ] Bug [ ] Feature Request [ X ] Question Subject of the issue Is it possible to manually trigger re calculation of item position? (similar to when dragging an item, and other items ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nissimpradhan |
| hostname | github.com |
| expected-hostname | github.com |
| None | ed37e7b483eada3dbc4dfe6f3b2f052078a0ba79fd3f4bef316d90c1a1d7f9db |
| 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 | 69e9a58ca64ef0c616ba11e26098fafdb4214b4d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width