{"action":"created","issue":{"url":"https://api.github.com/repos/wix/react-native-navigation/issues/511","repository_url":"https://api.github.com/repos/wix/react-native-navigation","labels_url":"https://api.github.com/repos/wix/react-native-navigation/issues/511/labels{/name}","comments_url":"https://api.github.com/repos/wix/react-native-navigation/issues/511/comments","events_url":"https://api.github.com/repos/wix/react-native-navigation/issues/511/events","html_url":"https://github.com/wix/react-native-navigation/pull/511","id":192284732,"number":511,"title":"softInputMode activity param (Android only)","user":{"login":"adamski","id":14980,"avatar_url":"https://avatars.githubusercontent.com/u/14980?v=3","gravatar_id":"","url":"https://api.github.com/users/adamski","html_url":"https://github.com/adamski","followers_url":"https://api.github.com/users/adamski/followers","following_url":"https://api.github.com/users/adamski/following{/other_user}","gists_url":"https://api.github.com/users/adamski/gists{/gist_id}","starred_url":"https://api.github.com/users/adamski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamski/subscriptions","organizations_url":"https://api.github.com/users/adamski/orgs","repos_url":"https://api.github.com/users/adamski/repos","events_url":"https://api.github.com/users/adamski/events{/privacy}","received_events_url":"https://api.github.com/users/adamski/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-11-29T13:41:57Z","updated_at":"2016-11-29T14:29:40Z","closed_at":"2016-11-29T14:10:10Z","pull_request":{"url":"https://api.github.com/repos/wix/react-native-navigation/pulls/511","html_url":"https://github.com/wix/react-native-navigation/pull/511","diff_url":"https://github.com/wix/react-native-navigation/pull/511.diff","patch_url":"https://github.com/wix/react-native-navigation/pull/511.patch"},"body":"To allow TextInputs in ListViews that would be obscured by the keyboard (i.e. at the bottom of the screen) to move so that they are visible, it is necessary to set `softInputmode` to `adjustPan`.  \r\nIf this is not set, the keyboard appears and then disappears immediately. \r\nSee e.g. https://github.com/facebook/react-native/issues/8180\r\n\r\nThis PR allows the `softInputMode` to be set from JS via `startApp`. It expects a numerical string, e.g.\r\n```\r\nsoftInputMode: '32' \r\n```\r\n(I tried sending as an Int but I got a ClassCastException as it seems to be transmitted as a Double?)\r\n\r\nIt would be more user friendly to also be able to send a string representation like you would in the manifest e.g. \r\n```\r\nsoftInputMode: 'adjustPan'\r\n```\r\nThis could be achieved with a map representing the values listed at https://developer.android.com/reference/android/view/WindowManager.LayoutParams.html#softInputMode. I'm happy to implement this but wanted to get feedback first. "},"comment":{"url":"https://api.github.com/repos/wix/react-native-navigation/issues/comments/263584564","html_url":"https://github.com/wix/react-native-navigation/pull/511#issuecomment-263584564","issue_url":"https://api.github.com/repos/wix/react-native-navigation/issues/511","id":263584564,"user":{"login":"adamski","id":14980,"avatar_url":"https://avatars.githubusercontent.com/u/14980?v=3","gravatar_id":"","url":"https://api.github.com/users/adamski","html_url":"https://github.com/adamski","followers_url":"https://api.github.com/users/adamski/followers","following_url":"https://api.github.com/users/adamski/following{/other_user}","gists_url":"https://api.github.com/users/adamski/gists{/gist_id}","starred_url":"https://api.github.com/users/adamski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamski/subscriptions","organizations_url":"https://api.github.com/users/adamski/orgs","repos_url":"https://api.github.com/users/adamski/repos","events_url":"https://api.github.com/users/adamski/events{/privacy}","received_events_url":"https://api.github.com/users/adamski/received_events","type":"User","site_admin":false},"created_at":"2016-11-29T14:29:40Z","updated_at":"2016-11-29T14:29:40Z","body":"It seems to be a known issue, see the RN issue I linked to above. "}}
{"actor":{"display_login":"adamski"}}