Alberto Aldegheri

Results 41 comments of Alberto Aldegheri

MAUI/Microsoft me, this gentleman and other developers are spending a lot of time *for free* trying to help you improve the platform and fix bugs. This PR seems ready to...

@kubaflo that works only if the text is always a long one. With short text like "hello" the text would end up centered while the goal here is to have...

@PureWeen I think existing unit tests already cover this for the following reasons: - iOS => `UISearchBar` is generally a `UIView` which contains an `UITextField` first responder - Android =>...

@Alexgoon have you seen the [workaround I proposed here](https://supportcenter.devexpress.com/ticket/details/t1208656#c43630fa-4759-4fb3-bc13-593024a70426)? This is fully working and probably covers even more uses cases than what could be achieved with what I proposed here....

@Alexgoon if you want to avoid that, you can probably use reflection to add that part of my workaround here: https://github.com/dotnet/maui/blob/a01e1ee184d9dcde58f6d6f7d14f03a3222378c3/src/Controls/src/Core/Window/Window.Android.cs#L41

I found some answers [in the source code](https://github.com/dotnet/maui/blob/main/src/Core/src/MauiContextExtensions.cs#L49) and by doing some testing - **Singleton** lives forever (Application level) - **Scoped** means that the services are tight to the `Window`...

@ksoftllc I will probably publish a tiny library to handle all of this in the proper way in a couple of weeks. I'm building something that sits on top of...

@RobTF I haven't had enough time to finish my work as I wanted and probably I won't have time in the next few months, So for now, I'm making my...

@ryanlpoconnell @janseris you don't have to use my repo at all :) especially because right now it is abandoned. I just wanted to share some code which solves the issue...

@meierhoeferjannis I'm available to fix this, but I couldn't reproduce from within the MAUI solution. Can you build a sample repo?