I am using keyboardavoidingview in the following scroll to move up keyboard so that the submit buttonBut it seems to not work on ios properly, despite setting the property behavior to padding, please help我已经在SO和Github上参考了许多帖子,但由于用例不同,根本没有什么能帮助到我。 正如键盘避免视图的官方文档中也提到
当使用带有behavior="position“属性的KeyboardAvoidingView时,如果该KeyboardAvoidingView组件包含一个包含多个项目的视图,则所有内部组件将一个一个折叠到另一个组件上,就好像所有组件的伸缩== 0一样:
return (
<KeyboardAvoidingView"Please enter at least 8 characters&