{"id":20160598,"url":"https://github.com/reactnativecn/react-native-inputscrollview","last_synced_at":"2025-04-10T00:10:05.856Z","repository":{"id":145863559,"uuid":"63462521","full_name":"reactnativecn/react-native-inputscrollview","owner":"reactnativecn","description":"输入框位置随键盘自动调整的scrollview","archived":false,"fork":false,"pushed_at":"2024-03-10T14:00:31.000Z","size":9,"stargazers_count":74,"open_issues_count":3,"forks_count":19,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-10T00:09:58.844Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reactnativecn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-07-16T02:57:18.000Z","updated_at":"2024-05-23T12:57:20.000Z","dependencies_parsed_at":"2024-03-10T15:23:07.249Z","dependency_job_id":null,"html_url":"https://github.com/reactnativecn/react-native-inputscrollview","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactnativecn%2Freact-native-inputscrollview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactnativecn%2Freact-native-inputscrollview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactnativecn%2Freact-native-inputscrollview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reactnativecn%2Freact-native-inputscrollview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reactnativecn","download_url":"https://codeload.github.com/reactnativecn/react-native-inputscrollview/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248131317,"owners_count":21052819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T00:14:52.770Z","updated_at":"2025-04-10T00:10:05.816Z","avatar_url":"https://github.com/reactnativecn.png","language":"JavaScript","readme":"# react-native-inputscrollview\n\n1. 防止键盘弹出时候，输入框被遮挡\n2. 解决在ScrollView中点击其它元素时需要点击两次才能生效的问题\n\n## 如何安装\n\n0.35以上:\n\n```bash\nnpm install react-native-inputscrollview --save\nrnpm link react-native-inputscrollview\n\n```\n\n0.34以下:\n\n```bash\nnpm install react-native-inputscrollview@1.x --save\nrnpm link react-native-inputscrollview\n\n```\n\n\n## 如何使用\n用InputScrollView替换InputView外层的ScrollView组件\n\n## 属性\n\n### distance: number (default 50)\n\n当输入框非常靠近底部的时候,会自动和键盘保持一定的距离。这可以为你其它的组件留出空间。\n\n### tapToDismiss: boolean (default true)\n\n是否可以点击ScrollView来关闭键盘。","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freactnativecn%2Freact-native-inputscrollview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freactnativecn%2Freact-native-inputscrollview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freactnativecn%2Freact-native-inputscrollview/lists"}