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

[Crash] [iOS] - Opening search in WebView in iOS crashes app #22426

Closed
Take-A-Byte opened this issue May 15, 2024 · 2 comments
Closed

[Crash] [iOS] - Opening search in WebView in iOS crashes app #22426

Take-A-Byte opened this issue May 15, 2024 · 2 comments
Labels

Comments

@Take-A-Byte
Copy link

Description

I have created a simple MAUI app to reproduce the crash.

Environment

  • It can be a MAUI app or MAUI Hybrid app
  • Run the app on iOS 17.4 (I used a simulator)

Steps to create the app

  1. Create a standard MAUI app in VS Code
  2. Delete the content of MainPage.xaml
  3. Add WebView to the MainPage with a source (e.g. https://learn.microsoft.com/en-us/dotnet/maui/user-interface/controls/blazorwebview?view=net-maui-8.0)

Behavior

  • Expected - Search box opens
  • Actual - App crashes

Note

  • The app works fine on older iOS Simulator.
  • If you want you can replace the website with any other website with search functionality and still the app crashes.
  • I tried creating a native iOS app in XCode with WKWebView as well as UIWebView and everything works fine.

Steps to Reproduce

Creating new app

  • Create a MAUI app with WebView or Hybrid MAUI app with WebView
  • Source website should contain a search button that opens up search box
  • Run app on iOS/iPad Simulator 17.4
  • Click on search button

Using the sample app

  • Run app on iOS/iPad Simulator 17.4
  • Click on search button

Link to public reproduction project repository

https://github.com/Take-A-Byte/MAUIWebViewCrash/blob/main/ReadMe.md

Version with bug

8.0.7 SR2

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 17.4

Did you find any workaround?

No response

Relevant log output

No response

@Take-A-Byte Take-A-Byte added the t/bug Something isn't working label May 15, 2024
Copy link
Contributor

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@PureWeen
Copy link
Member

Duplicate of #21057

@PureWeen PureWeen marked this as a duplicate of #21057 May 15, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jun 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants