Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: CloseWatcher API Prevents Navigation When No Overlays Are Present in Chromium v126 #29648

Open
3 tasks done
a7medm7med opened this issue Jun 21, 2024 · 0 comments
Open
3 tasks done
Labels

Comments

@a7medm7med
Copy link

a7medm7med commented Jun 21, 2024

Prerequisites

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants