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

If the user clicks outside the webview popup, the webview should close automatically. #503

Open
ag-richa-13 opened this issue Apr 9, 2024 · 2 comments
Assignees
Labels
feature Issue type : Feature request WebView Service : WebView

Comments

@ag-richa-13
Copy link

When we use Pop up Webview. And user clicks outside the Webview pop-up, it should close automatically.

In my project, I have header above the web view page, when user clicks on header and select next page webview is not closing automatically, which is not right. So you should add a feature that when user opens other page, webview page should close automatically.

@ag-richa-13 ag-richa-13 added the feature Issue type : Feature request label Apr 9, 2024
@taehyeon-nhn taehyeon-nhn added the WebView Service : WebView label Apr 10, 2024
Copy link

Stale issue. Please check this issue.

@taehyeon-nhn
Copy link
Contributor

Hello. @ag-richa-13.

You can use the Unity UI in areas outside of the Webview, so you can close the Webview after receiving a click event from the gameObject.
If you navigate to another page, a PageStarted callback is passed, where you can close the Webview.

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Issue type : Feature request WebView Service : WebView
Projects
None yet
Development

No branches or pull requests

3 participants