{"action":"created","issue":{"url":"https://api.github.com/repos/bokuweb/react-rnd/issues/526","repository_url":"https://api.github.com/repos/bokuweb/react-rnd","labels_url":"https://api.github.com/repos/bokuweb/react-rnd/issues/526/labels{/name}","comments_url":"https://api.github.com/repos/bokuweb/react-rnd/issues/526/comments","events_url":"https://api.github.com/repos/bokuweb/react-rnd/issues/526/events","html_url":"https://github.com/bokuweb/react-rnd/issues/526","id":451737992,"node_id":"MDU6SXNzdWU0NTE3Mzc5OTI=","number":526,"title":"When using onResizeStop left\\top changes opposite coordinate","user":{"login":"regulyarniy","id":25495041,"node_id":"MDQ6VXNlcjI1NDk1MDQx","avatar_url":"https://avatars2.githubusercontent.com/u/25495041?v=4","gravatar_id":"","url":"https://api.github.com/users/regulyarniy","html_url":"https://github.com/regulyarniy","followers_url":"https://api.github.com/users/regulyarniy/followers","following_url":"https://api.github.com/users/regulyarniy/following{/other_user}","gists_url":"https://api.github.com/users/regulyarniy/gists{/gist_id}","starred_url":"https://api.github.com/users/regulyarniy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/regulyarniy/subscriptions","organizations_url":"https://api.github.com/users/regulyarniy/orgs","repos_url":"https://api.github.com/users/regulyarniy/repos","events_url":"https://api.github.com/users/regulyarniy/events{/privacy}","received_events_url":"https://api.github.com/users/regulyarniy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2019-06-03T23:56:27Z","updated_at":"2019-06-06T21:15:00Z","closed_at":null,"author_association":"NONE","body":"It's a bug\r\n\r\n### Overview of the problem\r\nWhen using onResizeStop left\\top changes opposite coordinate\r\nDemo: https://codesandbox.io/s/nostalgic-tereshkova-lf0cw\r\n\r\nI'm using react-rnd 9.1.2\r\n      \r\nMy **browser** is:   Chrome\r\n   \r\nI am sure this issue is **not a duplicate**?\r\nIt's same as https://github.com/bokuweb/react-rnd/issues/215 but it's closed because inactivity/not working demo\r\nUsing onResize instead of onResizeStop is not useful because performance issues\r\n   \r\n### Reproduced project\r\nhttps://codesandbox.io/s/nostalgic-tereshkova-lf0cw\r\n\r\n\r\n### Description\r\n\r\nContainer resized in wrong direction with using onResizeStop callback\r\n\r\n### Steps to Reproduce\r\n\r\n1. Pull left\\top left\\top side of container\r\n\r\n### Expected behavior\r\n\r\nContainer changes size in pull direction\r\n\r\n### Actual behavior\r\n\r\nContainer changes opposite size (if you pulled to left it will grow to right etc..)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/bokuweb/react-rnd/issues/comments/499670359","html_url":"https://github.com/bokuweb/react-rnd/issues/526#issuecomment-499670359","issue_url":"https://api.github.com/repos/bokuweb/react-rnd/issues/526","id":499670359,"node_id":"MDEyOklzc3VlQ29tbWVudDQ5OTY3MDM1OQ==","user":{"login":"regulyarniy","id":25495041,"node_id":"MDQ6VXNlcjI1NDk1MDQx","avatar_url":"https://avatars2.githubusercontent.com/u/25495041?v=4","gravatar_id":"","url":"https://api.github.com/users/regulyarniy","html_url":"https://github.com/regulyarniy","followers_url":"https://api.github.com/users/regulyarniy/followers","following_url":"https://api.github.com/users/regulyarniy/following{/other_user}","gists_url":"https://api.github.com/users/regulyarniy/gists{/gist_id}","starred_url":"https://api.github.com/users/regulyarniy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/regulyarniy/subscriptions","organizations_url":"https://api.github.com/users/regulyarniy/orgs","repos_url":"https://api.github.com/users/regulyarniy/repos","events_url":"https://api.github.com/users/regulyarniy/events{/privacy}","received_events_url":"https://api.github.com/users/regulyarniy/received_events","type":"User","site_admin":false},"created_at":"2019-06-06T21:15:00Z","updated_at":"2019-06-06T21:15:00Z","author_association":"NONE","body":"> I'll try improve it when I have time\r\n\r\n@bokuweb Thank you! Maybe I could help with it and prepare a PR? Should I look at **bokuweb/re-resizable**?"}}
{"actor":{"display_login":"regulyarniy"}}