{"action":"created","issue":{"url":"https://api.github.com/repos/Quinny898/PersistentSearch/issues/75","labels_url":"https://api.github.com/repos/Quinny898/PersistentSearch/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/Quinny898/PersistentSearch/issues/75/comments","events_url":"https://api.github.com/repos/Quinny898/PersistentSearch/issues/75/events","html_url":"https://github.com/Quinny898/PersistentSearch/issues/75","id":112497139,"number":75,"title":"How do I prevent the searchbox from colllpasing when I press back button","user":{"login":"TPeterW","id":9685093,"avatar_url":"https://avatars.githubusercontent.com/u/9685093?v=3","gravatar_id":"","url":"https://api.github.com/users/TPeterW","html_url":"https://github.com/TPeterW","followers_url":"https://api.github.com/users/TPeterW/followers","following_url":"https://api.github.com/users/TPeterW/following{/other_user}","gists_url":"https://api.github.com/users/TPeterW/gists{/gist_id}","starred_url":"https://api.github.com/users/TPeterW/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TPeterW/subscriptions","organizations_url":"https://api.github.com/users/TPeterW/orgs","repos_url":"https://api.github.com/users/TPeterW/repos","events_url":"https://api.github.com/users/TPeterW/events{/privacy}","received_events_url":"https://api.github.com/users/TPeterW/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-10-21T02:15:22Z","updated_at":"2015-11-18T09:25:16Z","closed_at":null,"body":"I tried onKeyPreIme, didn't work."},"comment":{"url":"https://api.github.com/repos/Quinny898/PersistentSearch/issues/comments/157654065","html_url":"https://github.com/Quinny898/PersistentSearch/issues/75#issuecomment-157654065","issue_url":"https://api.github.com/repos/Quinny898/PersistentSearch/issues/75","id":157654065,"user":{"login":"ajans","id":3482744,"avatar_url":"https://avatars.githubusercontent.com/u/3482744?v=3","gravatar_id":"","url":"https://api.github.com/users/ajans","html_url":"https://github.com/ajans","followers_url":"https://api.github.com/users/ajans/followers","following_url":"https://api.github.com/users/ajans/following{/other_user}","gists_url":"https://api.github.com/users/ajans/gists{/gist_id}","starred_url":"https://api.github.com/users/ajans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajans/subscriptions","organizations_url":"https://api.github.com/users/ajans/orgs","repos_url":"https://api.github.com/users/ajans/repos","events_url":"https://api.github.com/users/ajans/events{/privacy}","received_events_url":"https://api.github.com/users/ajans/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T09:25:16Z","updated_at":"2015-11-18T09:25:16Z","body":"The problem is that the SearchBox doesn't differentiate between the \"toolbar-button-mode\", where collapsing is fine, and the \"fixed mode\", where the SearchBox should stay open.\r\n\r\nIn my fork, I introduced the boolean-flag revealedFromMenuItem for this, which is set to true when the method revealFromMenuItem is called, so the SearchBox knows it shouldnt collapse itself. The flag resets itself when the reveal-animation is finished.\r\n\r\nMy next pull request will include a fix for this issue as well as for the back-button issues #75, #82 and #84."}}