Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.Net8 Regression - Custom entry handlers not working #18189

Closed
Kaiffa opened this issue Oct 20, 2023 · 1 comment
Closed

.Net8 Regression - Custom entry handlers not working #18189

Kaiffa opened this issue Oct 20, 2023 · 1 comment
Labels

Comments

@Kaiffa
Copy link

Kaiffa commented Oct 20, 2023

Description

Trying to set the underline to transperent but it's not working in NET 8, but it did work on NET 7 and before.
Also true for other handlers (picker, editor etc.)
Tried on android (but possibly the same on iOS)

NET 7:
Screenshot_1697806362

NET 8:
Screenshot_1697806514

Steps to Reproduce

  1. Create new MAUI .NET8 project
  2. Add Entry to MainPage
  3. Add Custom handler code in MauiProgram:

Microsoft.Maui.Handlers.EntryHandler.Mapper.AppendToMapping(nameof(Entry), (handler, view) => { #if ANDROID handler.PlatformView.SetBackgroundColor(Android.Graphics.Color.Transparent); #endif });

In NET 7 the entry underline is transperent but in NET 8 it's not

Link to public reproduction project repository

No response

Version with bug

8.0.0-rc.2.9373

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

7.0.96

Affected platforms

Android

Affected platform versions

Android 33

Did you find any workaround?

No

Relevant log output

No response

@Kaiffa Kaiffa added the t/bug Something isn't working label Oct 20, 2023
@samhouts
Copy link
Member

Duplicate of #17448

@samhouts samhouts marked this as a duplicate of #17448 Oct 20, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Nov 19, 2023
@ghost ghost added the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Jan 31, 2024
@Eilon Eilon removed the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label May 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants