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.98k stars 1.71k forks source link

DatePicker Text hide while hovering in Windows #23843

Open MohanrajSF3559 opened 1 month ago

MohanrajSF3559 commented 1 month ago

Description

When using a Date Picker in a .NET MAUI application on the Windows platform, the text and icon become hidden while hovering over the Date Picker. This behavior disrupts the user experience, as users cannot see the date text or the calendar icon when they move their cursor over the control.

Steps to Reproduce

Step:

  1. Run the application on a Windows platform.
  2. Hover the cursor over the Date Picker control.
  3. As you can see the issue like below video.
  4. Link to public reproduction project repository

DataPickerFrameWorkIssue.zip

Version with bug

8.0.70 SR7

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

Windows

Did you find any workaround?

NA

Relevant log output

No response

github-actions[bot] commented 1 month 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 month ago

This issue has been verified using Visual Studio 17.11.0 Preview 5.0(8.0.70 & 8.0.61). Can repro on Windows platform.

MitchBomcanhao commented 1 month ago
    <Grid BackgroundColor="Black" WidthRequest="200" HeightRequest="50">
        <DatePicker x:Name="datePicker" TextColor="White" />
    </Grid>

you put a black background on a different control underneath the DatePicker, and you manually changed the text color on the picker to be white. Looks like you wanted to use the control in dark mode, so maybe use that instead?