This was a regression when I upgraded to 7.1.0.
Before, when the editor was empty and had a height set, you could tap anywhere to start editing. Now, I can only start editing by tapping the top of the editor.
I tested this only on Android.
Add a VS Item Template for Login screen as in Telerik UI for Xamarin: VIsual Studio Item Templates.
We have discovered an error when you implement IWindowCreator and create custom window and connect viewmodel via AddSingleton approach
This is the stack-trace:
at System.ThrowHelper.ThrowArgumentOutOfRange_IndexMustBeLessException() at System.Collections.Generic.List`1.get_Item(Int32 index) at Telerik.Maui.RadScreen.GetPixelScale(DipScaleType dipScaleType) at Telerik.Maui.Controls.RadScreenControls.GetPixelScale(VisualElement visualElement, DipScaleType dipScaleType) at Telerik.Maui.Controls.SkiaSharp.SkiaPainter.GetPixelScale() at Telerik.Maui.Controls.SkiaSharp.SkiaPainter..ctor(SkiaPainterCacheSettings cacheSettings) at Telerik.Maui.Controls.Compatibility.DataGrid.MasterArranger..ctor(RadDataGrid dataGrid, NonLayoutPanel root, SkLayoutSlotProvider skLayoutSlotProvider) at Telerik.Maui.Controls.Compatibility.DataGrid.RadDataGrid.InitArrangers() at Telerik.Maui.Controls.Compatibility.DataGrid.RadDataGrid.Telerik.Maui.Controls.Compatibility.DataGrid.IGridView.AttachColumn(DataGridColumn column) at Telerik.Maui.Controls.Compatibility.DataGrid.GridModel.AttachColumn(DataGridColumn column) at Telerik.Maui.Controls.Compatibility.DataGrid.DataGridColumnCollection.AttachColumn(DataGridColumn column) at Telerik.Maui.Controls.Compatibility.DataGrid.DataGridColumnCollection.InsertItem(Int32 index, DataGridColumn item) at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor) at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
When programatically trying to add an item to RadComboBox.SelectedItems (in multiple selection mode) similar to this answer, we get an ArgumentOutOfRangeException on iOS. It works fine on Android.
The stack trace is strange:
[0:] {"@t":"2023-11-15T20:53:41.1123080Z","@mt":"Unhandled Exception","@l":"Fatal","@x":"System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')Error clang++ exited with code 1:
ld: in /Users/.../Library/Caches/Xamarin/mtbs/builds/SDKBrowserMaui/.../obj/x64/Debug/net7.0-ios/iossimulator-arm64/linker-cache/TelerikUI.a(TKChartAnnotation.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/.../Library/Caches/Xamarin/mtbs/builds/SDKBrowserMaui/.../obj/x64/Debug/net7.0-ios/iossimulator-arm64/linker-cache/TelerikUI.a'
clang: error: linker command failed with exit code 1 (use -v to see invocation) SDKBrowserMaui C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\16.4.7089\targets\Xamarin.Shared.Sdk.targets 1274
Steps to reproduce:
Run the SDKBrowser example from the Telerik UI for .NET MAUI 6.1.0 package following this instruction: https://www.telerik.com/blogs/running-ios-simulator-windows-net-maui
The paired Mac needs to have an Apple silicon (M1 or M2) chip.Using Telerik UI for .Net MAUI v1.0.1 with latest version MAUI 6.0.400 (Service Release 1) and Visual Studio 2022 17.3.0 Preview 2.0 generates an error,
Severity Code Description Project File Line Suppression State
Error PRI175: 0x80073b0f - Processing Resources failed with error: Duplicate Entry. MauiAppTest C:\Samples\MauiAppTest\MauiAppTest\WINAPPSDKGENERATEPROJECTPRIFILE 1
private void OnEntryFocused(object sender, FocusEventArgs e)
{
if (sender is RadEntry entry && !string.IsNullOrEmpty(entry.Text))
{
entry.CursorPosition = 0;
entry.SelectionLength = entry.Text.Length;
}
}
I know you are all working on this and are addressing the breaking changes between preview7 to RC1, I wanted to open this Feature Request so that I can be immediately notified when UI for MAUI RC1 support is ready to download and use.
Thank you,
Denis
It would be really nice to have a RichTextBox control for .NET MAUI that worked on all platforms including Windows and Mac. I'm trying to migrate an application from WPF to MAUI and MAUI simply does not have a RichTextBox equivalent.
Telerik had something already for Xamarin called RichTextEditor but I believe it only works on iOS/Android and not Mac/Windows.
If you could do it quickly, you'd actually be the first company to have one as well, as from what I have been able to glean from my research, no company offers one as of yet, hence my predicament.
Thanks!