xamarin / Xamarin.Forms

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

[Bug] Visual material bug in the editor (IOS) #10323

Open AbdelrhmanHamedTawfik opened 4 years ago

AbdelrhmanHamedTawfik commented 4 years ago

Description

editor height when using visual = material crops and over laps the below component when the text more than 1 line and is set in the code behind i.e. loading the page with pre-existing text in the editor

Steps to Reproduce

  1. Create xamarin forms page
  2. make content page Visual = material
  3. create an editor
  4. set the text of the editor in the construction big enough to be displayed on 2 lines or more

Expected Behavior

editor will adjust its height according to the text size and the surrounding elements

Actual Behavior

editor crops and overlaps over the below elements

Basic Information

Screenshots

image

Reproduction Link

visual sample.zip

Workaround

no work around was found.

Extra notes:

  1. this issue presents in IOS only, android works fine
  2. tried AutoSize="Disabled" and HeightRequest = "100" still the same bug presents
  3. you might need to clean and rebuild the attached solution before testing the editor page
AbdelrhmanHamedTawfik commented 4 years ago

last stable Version 4.5.0.617 still bug exists