{"action":"created","issue":{"url":"https://api.github.com/repos/troolee/gridstack.js/issues/527","repository_url":"https://api.github.com/repos/troolee/gridstack.js","labels_url":"https://api.github.com/repos/troolee/gridstack.js/issues/527/labels{/name}","comments_url":"https://api.github.com/repos/troolee/gridstack.js/issues/527/comments","events_url":"https://api.github.com/repos/troolee/gridstack.js/issues/527/events","html_url":"https://github.com/troolee/gridstack.js/issues/527","id":177216708,"number":527,"title":"Initialising a grid below minWidth disables resize and move","user":{"login":"gavJackson","id":164279,"avatar_url":"https://avatars.githubusercontent.com/u/164279?v=3","gravatar_id":"","url":"https://api.github.com/users/gavJackson","html_url":"https://github.com/gavJackson","followers_url":"https://api.github.com/users/gavJackson/followers","following_url":"https://api.github.com/users/gavJackson/following{/other_user}","gists_url":"https://api.github.com/users/gavJackson/gists{/gist_id}","starred_url":"https://api.github.com/users/gavJackson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavJackson/subscriptions","organizations_url":"https://api.github.com/users/gavJackson/orgs","repos_url":"https://api.github.com/users/gavJackson/repos","events_url":"https://api.github.com/users/gavJackson/events{/privacy}","received_events_url":"https://api.github.com/users/gavJackson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-15T15:57:20Z","updated_at":"2016-09-23T21:14:02Z","closed_at":null,"body":"I found some odd behaviour when i was refreshing my browser and found that when a grid initialises and has less space than the minWidth resize and move gets disabled.\r\n\r\nAt time of writing (Sep 2016) you can see this happening on the gridstack home page demo grid (https://troolee.github.io/gridstack.js/), just resize your browser to less than 770px wide (i think thats the default minWidth) and then hit refresh and you will see that the grid is disabled.\r\n\r\nI found a workaround in my project by setting the `minWidth` to 0 which is fine for my project but might be problematic if people want to use the single column mode."},"comment":{"url":"https://api.github.com/repos/troolee/gridstack.js/issues/comments/249303918","html_url":"https://github.com/troolee/gridstack.js/issues/527#issuecomment-249303918","issue_url":"https://api.github.com/repos/troolee/gridstack.js/issues/527","id":249303918,"user":{"login":"DoctaWorm","id":7025044,"avatar_url":"https://avatars.githubusercontent.com/u/7025044?v=3","gravatar_id":"","url":"https://api.github.com/users/DoctaWorm","html_url":"https://github.com/DoctaWorm","followers_url":"https://api.github.com/users/DoctaWorm/followers","following_url":"https://api.github.com/users/DoctaWorm/following{/other_user}","gists_url":"https://api.github.com/users/DoctaWorm/gists{/gist_id}","starred_url":"https://api.github.com/users/DoctaWorm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoctaWorm/subscriptions","organizations_url":"https://api.github.com/users/DoctaWorm/orgs","repos_url":"https://api.github.com/users/DoctaWorm/repos","events_url":"https://api.github.com/users/DoctaWorm/events{/privacy}","received_events_url":"https://api.github.com/users/DoctaWorm/received_events","type":"User","site_admin":false},"created_at":"2016-09-23T21:14:02Z","updated_at":"2016-09-23T21:14:02Z","body":"So the media query breaking point is 768 for mobile view. The grid is disabled on dragging items yes, but once you've resized the window above 768 the grid is active again and you're able to move the objects around."}}
{"actor":{"display_login":"DoctaWorm"}}