-
Notifications
You must be signed in to change notification settings - Fork 104
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Description
The right border of selected item appears cut off or missing
My setup
<TargetFrameworks>net9.0-android;net9.0-ios;net9.0-maccatalyst</TargetFrameworks>
<PackageReference Include="Microsoft.Maui.Controls" Version="9.0.110" />
<PackageReference Include="Syncfusion.Maui.Toolkit" Version="1.0.7" />
Steps to Reproduce
- Create new Maui project
- Update nugets, install Syncfusion.Maui.Toolkit
- Replace MainPage.xaml with this
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:syncfusion="http://schemas.syncfusion.com/maui/toolkit"
x:Class="MauiSfSegmentedBugDemo.MainPage">
<ScrollView>
<VerticalStackLayout>
<syncfusion:SfSegmentedControl
x:Name="segControl">
</syncfusion:SfSegmentedControl>
</VerticalStackLayout>
</ScrollView>
</ContentPage>
- Replace MainPage.xaml.cs with this
public partial class MainPage : ContentPage
{
public MainPage()
{
InitializeComponent();
segControl.VisibleSegmentsCount = 2;
segControl.SelectionIndicatorSettings.SelectionIndicatorPlacement = SelectionIndicatorPlacement.Border;
segControl.ItemsSource = new ObservableCollection<SfSegmentItem>()
{
new SfSegmentItem { Text = "Day" },
new SfSegmentItem { Text = "Week" }
};
}
}
.NET Version
.NET 9.0
Version with bug
1.0.7
Is this a regression from previous behavior?
Not sure, haven't tested other versions
Last Known Working Version
1.0.6
Affected platforms
Windows, Android
Affected Platform Versions
windows10.0.19041.0, Android 15
Have you found a workaround?
No response
Relevant log output
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working