描述
我想实现一个FloatButton,它可以自动吸附按钮的边缘,但现在逻辑编写中存在一些问题,偶尔会出现消失的情况。在Android上的FlatList上,实际机器上并不平滑,但在iOS上是正常的。请大家帮忙解决,谢谢
重现步骤
https://snack.expo.dev/eafyAY7gnXC2fds63BPs3
React Native版本
"0.72.7"
受影响的平台
运行时 - Android
npx react-native info
的输出
System:
OS: Windows 10 10.0.19045
CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700
Memory: 17.04 GB / 31.77 GB
Binaries:
Node:
version: 20.11.1
path: C:\Program Files\nodejs\node.EXE
Yarn:
version: 1.22.22
path: ~\AppData\Roaming\npm\yarn.CMD
npm:
version: 10.2.4
path: C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: AI-232.10227.8.2321.11479570
Visual Studio: Not Found
Languages:
Java:
version: 17.0.10
path: C:\Program Files\Common Files\Oracle\Java\javapath\javac.EXE
Ruby: Not Found
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.7
wanted: 0.72.7
react-native-windows: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
堆栈跟踪或日志
ull
复现者
https://snack.expo.dev/eafyAY7gnXC2fds63BPs3
截图和视频
- 无响应*
1条答案
按热度按时间1rhkuytd1#