ionic-team / ionic-team/ionic-framework

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

Open
#30,821 0 comments 0 reactions 0 assignees View on GitHub
triage
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/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.

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.