{"action":"created","issue":{"url":"https://api.github.com/repos/bokuweb/re-resizable/issues/319","repository_url":"https://api.github.com/repos/bokuweb/re-resizable","labels_url":"https://api.github.com/repos/bokuweb/re-resizable/issues/319/labels{/name}","comments_url":"https://api.github.com/repos/bokuweb/re-resizable/issues/319/comments","events_url":"https://api.github.com/repos/bokuweb/re-resizable/issues/319/events","html_url":"https://github.com/bokuweb/re-resizable/issues/319","id":339033461,"node_id":"MDU6SXNzdWUzMzkwMzM0NjE=","number":319,"title":"Allow controlled resizing","user":{"login":"yang","id":7129,"node_id":"MDQ6VXNlcjcxMjk=","avatar_url":"https://avatars2.githubusercontent.com/u/7129?v=4","gravatar_id":"","url":"https://api.github.com/users/yang","html_url":"https://github.com/yang","followers_url":"https://api.github.com/users/yang/followers","following_url":"https://api.github.com/users/yang/following{/other_user}","gists_url":"https://api.github.com/users/yang/gists{/gist_id}","starred_url":"https://api.github.com/users/yang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yang/subscriptions","organizations_url":"https://api.github.com/users/yang/orgs","repos_url":"https://api.github.com/users/yang/repos","events_url":"https://api.github.com/users/yang/events{/privacy}","received_events_url":"https://api.github.com/users/yang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-06T18:28:55Z","updated_at":"2018-07-20T15:17:52Z","closed_at":null,"author_association":"NONE","body":"Currently re-resizable exclusively owns the width/height during a resize.  It would be powerful to make this controllable, so that users can implement (for instance) their own sizing (snapping, clamping, etc.) logic.\r\n\r\n(As a hack for now, one can override the `calculateNewSize` method to always return `auto`, and then explicitly control the size of a grand-child div from the `onResize` callback.)"},"comment":{"url":"https://api.github.com/repos/bokuweb/re-resizable/issues/comments/406632512","html_url":"https://github.com/bokuweb/re-resizable/issues/319#issuecomment-406632512","issue_url":"https://api.github.com/repos/bokuweb/re-resizable/issues/319","id":406632512,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjYzMjUxMg==","user":{"login":"jakub-chatrny","id":6513253,"node_id":"MDQ6VXNlcjY1MTMyNTM=","avatar_url":"https://avatars2.githubusercontent.com/u/6513253?v=4","gravatar_id":"","url":"https://api.github.com/users/jakub-chatrny","html_url":"https://github.com/jakub-chatrny","followers_url":"https://api.github.com/users/jakub-chatrny/followers","following_url":"https://api.github.com/users/jakub-chatrny/following{/other_user}","gists_url":"https://api.github.com/users/jakub-chatrny/gists{/gist_id}","starred_url":"https://api.github.com/users/jakub-chatrny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakub-chatrny/subscriptions","organizations_url":"https://api.github.com/users/jakub-chatrny/orgs","repos_url":"https://api.github.com/users/jakub-chatrny/repos","events_url":"https://api.github.com/users/jakub-chatrny/events{/privacy}","received_events_url":"https://api.github.com/users/jakub-chatrny/received_events","type":"User","site_admin":false},"created_at":"2018-07-20T15:17:52Z","updated_at":"2018-07-20T15:17:52Z","author_association":"NONE","body":"Yep I face same issue using react-rnd (which extends re-resizable)\r\nThanks for providing workaround @mdanka !"}}
{"actor":{"display_login":"jakub-chatrny"}}