{"action":"created","issue":{"url":"https://api.github.com/repos/adobe-photoshop/spaces-design/issues/3657","repository_url":"https://api.github.com/repos/adobe-photoshop/spaces-design","labels_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/issues/3657/labels{/name}","comments_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/issues/3657/comments","events_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/issues/3657/events","html_url":"https://github.com/adobe-photoshop/spaces-design/pull/3657","id":130862338,"number":3657,"title":"Add acquireFocusOnMouseDown prop to Focusable, set to false in LayerFace","user":{"login":"volfied","id":386714,"avatar_url":"https://avatars.githubusercontent.com/u/386714?v=3","gravatar_id":"","url":"https://api.github.com/users/volfied","html_url":"https://github.com/volfied","followers_url":"https://api.github.com/users/volfied/followers","following_url":"https://api.github.com/users/volfied/following{/other_user}","gists_url":"https://api.github.com/users/volfied/gists{/gist_id}","starred_url":"https://api.github.com/users/volfied/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/volfied/subscriptions","organizations_url":"https://api.github.com/users/volfied/orgs","repos_url":"https://api.github.com/users/volfied/repos","events_url":"https://api.github.com/users/volfied/events{/privacy}","received_events_url":"https://api.github.com/users/volfied/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-03T00:10:23Z","updated_at":"2016-02-03T01:35:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/adobe-photoshop/spaces-design/pulls/3657","html_url":"https://github.com/adobe-photoshop/spaces-design/pull/3657","diff_url":"https://github.com/adobe-photoshop/spaces-design/pull/3657.diff","patch_url":"https://github.com/adobe-photoshop/spaces-design/pull/3657.patch"},"body":"When the name of the layer in a LayerFace was clicked on, we would immediately call `OS.acquireKeyboardFocus` due to the `mousedown` listener in Focusable mixin (which is the mixin of TextInput showing layer name). But we would never call `OS.releaseKeyboardFocus` because those were only called on commit/cancel/finish methods.\r\n\r\nFor TextInputs like layer name, we don't want to acquire focus unless the user double clicks to start editing. We instead acquire focus on `_beginEdit` function which is what happens when user double clicks.\r\n\r\nAddresses #3581 \r\n"},"comment":{"url":"https://api.github.com/repos/adobe-photoshop/spaces-design/issues/comments/178947482","html_url":"https://github.com/adobe-photoshop/spaces-design/pull/3657#issuecomment-178947482","issue_url":"https://api.github.com/repos/adobe-photoshop/spaces-design/issues/3657","id":178947482,"user":{"login":"iwehrman","id":1075154,"avatar_url":"https://avatars.githubusercontent.com/u/1075154?v=3","gravatar_id":"","url":"https://api.github.com/users/iwehrman","html_url":"https://github.com/iwehrman","followers_url":"https://api.github.com/users/iwehrman/followers","following_url":"https://api.github.com/users/iwehrman/following{/other_user}","gists_url":"https://api.github.com/users/iwehrman/gists{/gist_id}","starred_url":"https://api.github.com/users/iwehrman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iwehrman/subscriptions","organizations_url":"https://api.github.com/users/iwehrman/orgs","repos_url":"https://api.github.com/users/iwehrman/repos","events_url":"https://api.github.com/users/iwehrman/events{/privacy}","received_events_url":"https://api.github.com/users/iwehrman/received_events","type":"User","site_admin":false},"created_at":"2016-02-03T01:35:23Z","updated_at":"2016-02-03T01:35:23Z","body":"Roger. In that case: looks good!"}}