ionic-team / ionic-team/ionic-framework
bug: CloseWatcher API Prevents Navigation When No Overlays Are Present in Chromium v126
- 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
Hello,
I recently noticed that the CloseWatcher API, which had been removed, is now back in Chromium version 126. After testing this feature, I found it to be working very well overall. However, I encountered an issue:
When no overlays are present on the page, I am unable to navigate back to the previous page. This seems to be a bug.
Could you please look into this issue? Thank you for your assistance.
### Expected Behavior
The CloseWatcher API should only be active when overlays are present, allowing normal navigation when there are no overlays.
### Steps to Reproduce
1- Clone the repository and navigate to the project directory.
2- Enable `experimentalCloseWatcher` option.
3- Run the command `npm run start` to start the application.
4- Open a mobile browser and navigate to any page with overlays, such as `src/components/modal`.
5- Close all overlays.
6- Try to navigate back to the previous page using the back button on your mobile device.
### Code Reproduction URL
#
### Ionic Info
v8.2.2
Android Chrome v126
### Additional Information
_No response_
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.