ionic-team / ionic-team/ionic-framework

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

Đang mở
#24,594 3 bình luận 3 reaction 0 người được giao Xem trên GitHub
package: vue type: bug
Ngôn ngữ chính
TypeScript
Star
52.7k
Fork
13.3k
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
51

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start with the linked Vue tabs reproduction at the add-defaultHref branch and reproduce the navigation from home to tab1, then tab2. Trace the Ionic Vue tab and swipe-back entry points involved in that flow; done means the swipe-back gesture works on tab2 and tab3 as it does on tab1.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
typescript
Lĩnh vực
frontend, mobile
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.