dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
21.99k stars 1.72k forks source link

[iOS, macOS] Text in the Editor control disappeared when reducing the Scale of the Editor control #24583

Open VishalOmprasad opened 1 week ago

VishalOmprasad commented 1 week ago

Description

When reducing the Scale of the Editor control, the text on the Editor control disappeared and reappeared after the Editor.Scale increases. This works fine on Android and Windows platforms.

Issue reproducible video

https://github.com/user-attachments/assets/eba7a685-c5a7-4221-badd-8001ffe5cedc

https://github.com/user-attachments/assets/4364e429-26b8-4d13-954a-6d514a57ee68

Steps to Reproduce

  1. Create a new .NET MAUI application.
  2. Add the Editor control and the Slider control (whose Minimum=0 and Maximum-1) inside the StackLayout.
  3. Bind the Editor.Scale to the Slider.Value.
  4. Run the application on either iOS or macOS platform.
  5. Drag the Slider to reduce the Editor.Scale value.
  6. Notice that the text will disappear.

Link to public reproduction project repository

https://github.com/VishalOmprasad/Editor-Scale-Issue-iOS-macCatalyst

Version with bug

Unknown/Other

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS, macOS

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

github-actions[bot] commented 1 week ago

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.

Zhanglirong-Winnie commented 1 week ago

This issue has been verified using Visual Studio 17.6.14(build413)(8.0.82 & 8.0.80). Can repro on iOS and macOS platforms.