xamarin / Xamarin.Forms

Xamarin.Forms is no longer supported. Migrate your apps to .NET MAUI.
https://aka.ms/xamarin-upgrade
Other
5.63k stars 1.87k forks source link

The text gets bold and added <br> tag when placing the cursor in HybridWebView in Samsung Galaxy Tab S6 Lite and android version 13. #15701

Open Gayathri-github7 opened 1 year ago

Gayathri-github7 commented 1 year ago

The text gets bold and added
tag when placing the cursor in Samsung Galaxy Tab S6 Lite and android version 13.

Description

Steps to Reproduce

  1. Run the attached sample
  2. Tap on 'Date' text on webview control.
  3. You can see the all other text changed to bold format.(First issue)
  4. Tap on some other text.
  5. You can see the new line added(Second issue)

Expected Behavior

  1. Bold format applied only for the text which has bold format.
  2. Should not add new line while tapping text on it.

Actual Behavior

1.The entire text format has been changed after selecting bold text. 2.The extra line added while tapping the text.

Basic Information

Sample link: Hybrid.zip

Video link: HybridWebViewVideo.zip

IVSoftware commented 1 year ago

This sounded similar to my own issue so I wanted to run this code in order to compare Android 12 and Android 13 behaviors. There is in fact a difference here as well. Using the sample from this post I was able to reproduce the pathological behavior on my physical device running 13 and found no evidence of misbehavior on my physical device running 12.

IVSoftware commented 1 year ago

Todays update of One UI for Android to version 5.1 may have fixed the similar issue that I was having. Can you post an update on your issue when you receive the software update on your Android 13? Thx.