The back gesture/button on Android devices closes the walkthrough.

未关闭
#331 3 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

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

调研方向

首先定位 react-native-copilot 中 Android 返回按钮和返回手势的处理,然后在列出的 React Native 和 Android 版本上复现该问题。完成标准是,当前的引导流程不再因 Android 返回操作而关闭,同时现有的 iOS 行为保持不变。

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

描述

Current Behavior

When using react-native-copilot to integrate a walkthrough on a specific screen in my application, I encountered an issue: if the user presses the back button on Android while the walkthrough is active, the walkthrough closes unexpectedly, and no events from copilotEvents are registered to handle this action.

This is encountered only in android and no such issues are there in iOS.

Expected behavior/code
I want to disable this behaviour, where on back gesture or on back button click in android, the walkthrough quits.

Environment

  • Device: Pixel 6
  • OS: 14
  • react-native-copilot: 3.3.2
  • react-native: 0.72.6
  • react-native-svg: 13.14.0
    Additional context/Screenshots
    Attaching screen recording for ref:

https://github.com/user-attachments/assets/48491e82-735d-4120-a3d6-89f671019081

主要语言
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 摘要。