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
22.05k stars 1.73k forks source link

In the component Entry, ClearButtonVisibility="WhileEditing" doesn't work. #25225

Open damusthe opened 3 hours ago

damusthe commented 3 hours ago

Description

Using Entry component, with the property ClearButtonVisibility="WhileEditing" doesn't work.

Context : VS 2022 17.11.5 Net 8.0 NuGet Microsoft.Maui.Controls 8.0.91 Emulator Pixel 5 Android 14 API 34

Steps to Reproduce

Create a new MAUI default project in .Net 8. In the MainPage.xaml, add a component Entryand add the property ClearButtonVisibility="WhileEditing". <Entry Text="text to clear" ClearButtonVisibility="WhileEditing"/>

Write some text an try to click on the cross/clear button : Nothing happens.

Link to public reproduction project repository

No response

Version with bug

Unknown/Other

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

No response

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

No

Relevant log output

No response

similar-issues-ai[bot] commented 3 hours ago

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.