{"action":"created","issue":{"url":"https://api.github.com/repos/react-bootstrap/react-overlays/issues/123","repository_url":"https://api.github.com/repos/react-bootstrap/react-overlays","labels_url":"https://api.github.com/repos/react-bootstrap/react-overlays/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/react-bootstrap/react-overlays/issues/123/comments","events_url":"https://api.github.com/repos/react-bootstrap/react-overlays/issues/123/events","html_url":"https://github.com/react-bootstrap/react-overlays/issues/123","id":185297105,"number":123,"title":"lastFocus is updated even when autoFocus is false","user":{"login":"digitaltoad","id":23583,"avatar_url":"https://avatars.githubusercontent.com/u/23583?v=3","gravatar_id":"","url":"https://api.github.com/users/digitaltoad","html_url":"https://github.com/digitaltoad","followers_url":"https://api.github.com/users/digitaltoad/followers","following_url":"https://api.github.com/users/digitaltoad/following{/other_user}","gists_url":"https://api.github.com/users/digitaltoad/gists{/gist_id}","starred_url":"https://api.github.com/users/digitaltoad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitaltoad/subscriptions","organizations_url":"https://api.github.com/users/digitaltoad/orgs","repos_url":"https://api.github.com/users/digitaltoad/repos","events_url":"https://api.github.com/users/digitaltoad/events{/privacy}","received_events_url":"https://api.github.com/users/digitaltoad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-26T04:55:10Z","updated_at":"2016-10-26T13:08:01Z","closed_at":null,"body":"This causes the last element to be focused even if `autoFocus` is `false`. I'm not sure if this is by design or not but the code updates `lastFocus` in `checkForFocus` and `focus`. Should there be a configuration flag for`restoreLastFocus`?"},"comment":{"url":"https://api.github.com/repos/react-bootstrap/react-overlays/issues/comments/256341379","html_url":"https://github.com/react-bootstrap/react-overlays/issues/123#issuecomment-256341379","issue_url":"https://api.github.com/repos/react-bootstrap/react-overlays/issues/123","id":256341379,"user":{"login":"digitaltoad","id":23583,"avatar_url":"https://avatars.githubusercontent.com/u/23583?v=3","gravatar_id":"","url":"https://api.github.com/users/digitaltoad","html_url":"https://github.com/digitaltoad","followers_url":"https://api.github.com/users/digitaltoad/followers","following_url":"https://api.github.com/users/digitaltoad/following{/other_user}","gists_url":"https://api.github.com/users/digitaltoad/gists{/gist_id}","starred_url":"https://api.github.com/users/digitaltoad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitaltoad/subscriptions","organizations_url":"https://api.github.com/users/digitaltoad/orgs","repos_url":"https://api.github.com/users/digitaltoad/repos","events_url":"https://api.github.com/users/digitaltoad/events{/privacy}","received_events_url":"https://api.github.com/users/digitaltoad/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T13:08:01Z","updated_at":"2016-10-26T13:08:01Z","body":"Given the case where you would want to focus a different element on hide conditionally, unless I'm not looking at the problem correctly, it would require both a handler for `onHide` and a handler for `onExit`. This also means that focus bounces twice."}}
{"actor":{"display_login":"digitaltoad"}}