ionic-team / ionic-team/ionic-framework

bug: Return doesn't work on Modal "Card Modal"

Đang mở
#30,821 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
triage
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/docs/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

v8.x

### Current Behavior

On android, i went to chrome ionic kitchen website. And add "icon to my homescreen".
Then i open this shortcut and it open IONIC KITCHEN like a native app.
When i go to modal and click "Open Card Modal".
The native android back button doesn't do anything. So it's misleading for user because when you click on it nothing happen.

### Expected Behavior

When clicking on native android back button, it should go back to the previous page.

### Steps to Reproduce

See above

### Code Reproduction URL

https://docs-demo.ionic.io/

### Ionic Info

/

### Additional Information

On newer version of android, the modal remain visible but the back page return.
On old version of android, the back button does nothing. i can click 10 time and i will always see the modal.

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

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

Hướng nghiên cứu

Start by reproducing the issue at https://docs-demo.ionic.io/ in Android Chrome after adding the site to the home screen, then open the Modal "Card Modal" and test the native back button on Android versions. Trace the modal's back-navigation handling; done means the back button consistently dismisses the modal or returns to the previous page without leaving the modal visible.

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
38/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.