Skip to content

[Bug] 使用Form组件设置layout="vertical"表单内容部分会失去高度,导致内容被遮挡 #1399

Open
@NickFox-html

Description

💬 前提强调

  • I have searched the issues of this repository and believe that this is not a duplicate.

🙋 描述详情/重现步骤

我在expo中使用Form组件时设置layout="vertical"属性时,表单内容部分被遮挡。
image
b0b76730a72a1a25bb0327346da470ee
以下为我使用官网demo运行的效果,问题描述部分表单内容也会被遮挡,官网demo
fd75a6cc1ef1fd66464ea33ffc122375

🔴 版本

10.7.0

💻 运行环境

Android, Expo

⚫️ npx react-native info输出信息

warn Package @ant-design/icons-react-native contains invalid configuration: "dependency.assets" is not allowed. Please verify it's properly linked using "npx react-native config" command and contact the package maintainers about this.
info Fetching system and libraries information...
System:
OS: Windows 11 10.0.22631
CPU: (12) x64 12th Gen Intel(R) Core(TM) i5-12400F
Memory: 3.68 GB / 15.82 GB
Binaries:
Node:
version: 20.14.0
path: E:\nodejs\node.EXE
Yarn:
version: 1.22.22
path: E:\nodejs\yarn.CMD
npm:
version: 10.7.0
path: E:\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: Not Found
Visual Studio: Not Found
Languages:
Java: 17.0.12
Ruby: Not Found
npmPackages:
"@react-native-community/cli":
installed: 15.1.2
wanted: ^15.1.2
react:
installed: 18.3.1
wanted: 18.3.1
react-native:
installed: 0.76.3
wanted: 0.76.3
react-native-windows: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: Not found
newArchEnabled: Not found

补充说明

我的版本为5.3.1https://rn.mobile.ant.design/index-cn

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions