{"action":"opened","issue":{"url":"https://api.github.com/repos/AmaranthineCodices/roact-material/issues/26","repository_url":"https://api.github.com/repos/AmaranthineCodices/roact-material","labels_url":"https://api.github.com/repos/AmaranthineCodices/roact-material/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/AmaranthineCodices/roact-material/issues/26/comments","events_url":"https://api.github.com/repos/AmaranthineCodices/roact-material/issues/26/events","html_url":"https://github.com/AmaranthineCodices/roact-material/issues/26","id":308783948,"number":26,"title":"Buttons don't update hover/pressed states if moved away from the mouse","user":{"login":"AmaranthineCodices","id":31936135,"avatar_url":"https://avatars2.githubusercontent.com/u/31936135?v=4","gravatar_id":"","url":"https://api.github.com/users/AmaranthineCodices","html_url":"https://github.com/AmaranthineCodices","followers_url":"https://api.github.com/users/AmaranthineCodices/followers","following_url":"https://api.github.com/users/AmaranthineCodices/following{/other_user}","gists_url":"https://api.github.com/users/AmaranthineCodices/gists{/gist_id}","starred_url":"https://api.github.com/users/AmaranthineCodices/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmaranthineCodices/subscriptions","organizations_url":"https://api.github.com/users/AmaranthineCodices/orgs","repos_url":"https://api.github.com/users/AmaranthineCodices/repos","events_url":"https://api.github.com/users/AmaranthineCodices/events{/privacy}","received_events_url":"https://api.github.com/users/AmaranthineCodices/received_events","type":"User","site_admin":false},"labels":[{"id":802187121,"url":"https://api.github.com/repos/AmaranthineCodices/roact-material/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":{"login":"AmaranthineCodices","id":31936135,"avatar_url":"https://avatars2.githubusercontent.com/u/31936135?v=4","gravatar_id":"","url":"https://api.github.com/users/AmaranthineCodices","html_url":"https://github.com/AmaranthineCodices","followers_url":"https://api.github.com/users/AmaranthineCodices/followers","following_url":"https://api.github.com/users/AmaranthineCodices/following{/other_user}","gists_url":"https://api.github.com/users/AmaranthineCodices/gists{/gist_id}","starred_url":"https://api.github.com/users/AmaranthineCodices/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmaranthineCodices/subscriptions","organizations_url":"https://api.github.com/users/AmaranthineCodices/orgs","repos_url":"https://api.github.com/users/AmaranthineCodices/repos","events_url":"https://api.github.com/users/AmaranthineCodices/events{/privacy}","received_events_url":"https://api.github.com/users/AmaranthineCodices/received_events","type":"User","site_admin":false},"assignees":[{"login":"AmaranthineCodices","id":31936135,"avatar_url":"https://avatars2.githubusercontent.com/u/31936135?v=4","gravatar_id":"","url":"https://api.github.com/users/AmaranthineCodices","html_url":"https://github.com/AmaranthineCodices","followers_url":"https://api.github.com/users/AmaranthineCodices/followers","following_url":"https://api.github.com/users/AmaranthineCodices/following{/other_user}","gists_url":"https://api.github.com/users/AmaranthineCodices/gists{/gist_id}","starred_url":"https://api.github.com/users/AmaranthineCodices/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmaranthineCodices/subscriptions","organizations_url":"https://api.github.com/users/AmaranthineCodices/orgs","repos_url":"https://api.github.com/users/AmaranthineCodices/repos","events_url":"https://api.github.com/users/AmaranthineCodices/events{/privacy}","received_events_url":"https://api.github.com/users/AmaranthineCodices/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-03-27T00:50:45Z","updated_at":"2018-03-27T00:50:45Z","closed_at":null,"author_association":"OWNER","body":"Right now, buttons will get locked into a state where they think the mouse is over them if they've been moved out of the way (by the parent's position or size changing, usually). This can be fixed by checking for position changes using `Roact.Change.AbsolutePosition`, then performing a hit-test against the button. Roact-material already breaks for rotated GUIs, so the hit-test is just a point-in-rectangle test. If the test fails, we can set the button's internal `_mouseOver` and `_pressed` states to `false`."}}
{"actor":{"display_login":"AmaranthineCodices"}}