ionic-team / ionic-team/ionic-framework

bug: IonRouterOutlet canGoBack() return always return false

Open
#18,759 19 comments 8 reactions 0 assignees View on GitHub
package: angular type: bug
Dominant language
TypeScript
Stars
52.7k
Forks
13.3k
Avg merge
1d 15h
Merged PRs (30d)
51

Description

# 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
```

Contributor guide

Open the contributing guide

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.