ionic-team / ionic-team/ionic-framework

bug: vue, swipe to go back is ignore after switching tabs

Open
#24,594 3 comments 3 reactions 0 assignees View on GitHub
package: vue type: bug
Dominant language
TypeScript
Stars
52.7k
Forks
13.3k
Avg merge
1d 15h
Merged PRs (30d)
51

Description

### Prerequisites

- [X] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#creating-an-issue).
- [X] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [X] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already report this problem, without success.

### Ionic Framework Version

- [ ] v4.x
- [ ] v5.x
- [X] v6.x

### Current Behavior

When I go to a page with tabs from the home page, it can go back by using swipe gesture on the tab1, but not fine on tab2 and tab3.

![QQ20220119-102838-HD 2](https://user-images.githubusercontent.com/7185025/150053742-b6ee461f-a815-4c9d-a33d-c20177ed0d23.gif)

### Expected Behavior

The swipe gesture works fine on tab2 and tab3 just like tab1.

### Steps to Reproduce

1.On home page, click the 'tab link' link to tab1.
2.Click the tab2 button on the bottom.
3.The swipe back gesture failed.

### Code Reproduction URL

https://github.com/guanvee/ionic6-vue-tabs/tree/add-defaultHref

### Ionic Info

Ionic:

Ionic CLI : 6.18.1 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/vue 6.0.1

Capacitor:

Capacitor CLI : 3.3.3
@capacitor/android : not installed
@capacitor/core : 3.3.3
@capacitor/ios : 3.3.4

Utility:

cordova-res : 0.15.4
native-run : 1.5.0

System:

NodeJS : v16.13.1 (/usr/local/bin/node)
npm : 8.1.2
OS : macOS Monterey

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.