Android Overlay doesn't work

未关闭
#320 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
react-native, typescript
领域
mobile

调研方向

首先,使用 react-native-copilot 3.3.2、React Native 0.72.5 和 react-native-svg 14.1.0,在报告中提到的 Google Pixel 5a 上复现 overlay 定位问题。检查 overlay 定位的入口点,并将 Android 的行为与正常工作的 iOS 行为进行比较;当 overlay 在受影响的 Android 设备上能够正确定位且不导致 iOS 回归时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

Current Behavior
The overlay is not working correctly on some Android devices, with incorrect positioning. On iOS, everything works perfectly.

Input Code

  • REPL or Repo link if applicable:
<CopilotProvider
                androidStatusBarVisible={Platform.OS === 'android'}
                backdropColor={color.lightDarkBlack}
                tooltipStyle={NativeStyles.tooltip}
                tooltipComponent={TutorialTooltip}
                stepNumberComponent={() => null}
                arrowStyle={NativeStyles.arrow}
                animated={false}
              >
                <StatusBar style="auto" translucent />
                <Navigation />
              </CopilotProvider>

Expected behavior/code
A clear and concise description of what you expected to happen (or code).

Environment

  • Device: Google Pixel 5a - 2400 × 1080 px | 415ppi | 20:9 aspect | 6.34” diagonal
  • react-native-copilot: 3.3.2
  • react-native: 0.72.5
  • react-native-svg: 14.1.0

Possible Solution

Additional context/Screenshots
image
image

主要语言
TypeScript
星标
2.4k
派生
425
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

mohebifar/react-native-copilot 的其他 Issue

查看 mohebifar/react-native-copilot 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。