ionic-team / ionic-team/ionic-framework

bug: IonRouterOutlet canGoBack() return always return false

未关闭
#18,759 19 条评论 8 个 reaction 已指派 0 人 在 GitHub 查看
package: angular type: bug
主要语言
TypeScript
星标
52.7k
派生
13.3k
平均合并
1 天 15 小时
30 天内合并 PR
51

描述

# Bug Report

**Ionic version:**

[x] **4.6.1 / 4.6.2**

**Current behavior:**

ActivatedRoute canGoBack() always return false

**Expected behavior:**

canGoBack() should return correctly

**Steps to reproduce:**

**Related code:**

```
insert short code snippets here
```

**Other information:**

**Ionic info:**

```
insert the output from ionic info here
```

贡献指南

打开贡献指南

调研方向

The issue identifies IonRouterOutlet and ActivatedRoute as the relevant entry points, but provides no reproduction steps, sample code, files, or tests. Start by locating the canGoBack() implementation and related router tests; done means reproducing the reported navigation state and verifying that canGoBack() returns the correct value.

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

评估

技术栈
angular, typescript
领域
frontend
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

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