Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[错误]Modal在安卓上不能正确显示,触摸屏幕后闪现一下就消失 #1366

Open
1 task done
AntHuiZi opened this issue Aug 8, 2024 · 2 comments
Open
1 task done
Labels

Comments

@AntHuiZi
Copy link

AntHuiZi commented Aug 8, 2024

💬 Before You Start

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

🙋 Description/Step to reproduce

使用方式如上,在ios上当visible=true,可以正常显示,但是在安卓上就不能显示出来,点击屏幕后会闪一下,随即就消失。安卓版本是API 33、34

🔴 Version

5.2.1

💻 Environment

Android

⚫️ Output of npx react-native info

System:
OS: macOS 14.5
CPU: (10) arm64 Apple M2 Pro
Memory: 83.58 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.0.0
path: /usr/local/bin/node
Yarn:
version: 1.22.19
path: /usr/local/bin/yarn
npm:
version: 9.6.4
path: /usr/local/bin/npm
Watchman:
version: 2024.05.06.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.15.2
path: /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.4
- iOS 17.4
- macOS 14.4
- tvOS 17.4
- visionOS 1.1
- watchOS 10.4
Android SDK: Not Found
IDEs:
Android Studio: 2023.3 AI-233.14808.21.2331.11842104
Xcode:
version: 15.3/15E204a
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.11
path: /usr/bin/javac
Ruby:
version: 3.3.1
path: /opt/homebrew/opt/ruby/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.74.1
wanted: 0.74.1
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: true
newArchEnabled: false

Additional comments

No response

@1uokun
Copy link
Collaborator

1uokun commented Aug 9, 2024

未能复现,请贴出能复现的代码

@sfshine
Copy link

sfshine commented Oct 8, 2024

未能复现,请贴出能复现的代码

似乎是因为打开了newArchEnabled=true导致,antd版本为5.1.0
测试代码https://github.com/sfshine/antd-modal-error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants