Tooltip view is not being set properly with Parent and Child components.
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- react-native, typescript
- 领域
- mobile-dev
调研方向
首先使用 CopilotStep 和 WalkthroughableView 示例复现 Parent 和 Child 组件的 walkthrough,然后检查通过 CopilotProvider 渲染的自定义 InteractiveToolTip。检查 tooltipStyle、固定高度、宽度和子组件内容如何与步骤顺序相互影响,并将结果与报告中的屏幕截图进行比较。当 tooltip 在 Parent 和 Child 步骤中都能正确定位并设置大小时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
As of now, I am trying to use it in the Parent component for orders 1, 2 and later for the rest of the orders I am trying to use it with the child component.
<CopilotStep
text=""
order={3}
name="childhere"
>
<WalkthroughableView style={{ flex: 0.4, alignItems: 'center', justifyContent: 'center' }}>
<TouchableOpacity onPress={onPressChildItem}>
<Text style={styles.buttonLabel}>{"here"}</Text>
</TouchableOpacity>
</WalkthroughableView>
</CopilotStep>
But here it is not getting fit as per the screenshot.
here is my custom tooltip component view:
<View style={{ height: 150, justifyContent: 'center', alignItems: 'center', width: width / 1.25, alignSelf: 'center' }}>
{childeren_data}
</View>
here is my copilotProvider:
<CopilotProvider
overlay="svg"
stepNumberComponent={StepNumberComponent}
tooltipComponent={InteractiveToolTip}
backdropColor="rgba(6, 4, 3, 1)"
tooltipStyle={{ backgroundColor: 'rgba(34, 48, 52, 0.65)', width: width - 10 }}
arrowColor="rgba(3, 6, 6, 0.9)"
animated
>
{<Navigator />}
</CopilotProvider>
If anyone can help me out on this would be really appreciated. Thanks in Advance.
- 主要语言
- TypeScript
- 星标
- 2.4k
- 派生
- 425
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
mohebifar/react-native-copilot 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 72/100
mohebifar/react-native-copilot#354 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 55/100
mohebifar/react-native-copilot#351 · 1 条评论 · 1 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 4/5 3-5 天 新手友好度 35/100
mohebifar/react-native-copilot#349 · 11 条评论 ·
-
难度 4/5 3-5 天 新手友好度 15/100
mohebifar/react-native-copilot#348 · 2 条评论 ·
查看 mohebifar/react-native-copilot 的全部 Issue
相似的 Issue
-
Resources: New templates of Beijing Subway可能已有人在做 @rmt-svc 今天认领。 未关闭resources
难度 2/5 1-3 小时 新手友好度 68/100
railmapgen/rmg-templates#2726 ·
维护者通常 1 天内回复
-
needs triage
难度 2/5 1-3 小时 新手友好度 76/100
homarr-labs/homarr#7729 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
Buzzpy/Dev-Encyclopedia#218 ·
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
prio:low status:done type:content
难度 2/5 1-3 小时 新手友好度 72/100
davidsneighbour/samui-samui.de#1925 ·