-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Labels
Description
Description
When placing a DrawingView (from .NET MAUI CommunityToolkit) inside an SfTabView, the control consistently fires the DrawingLineCancelled event instead of DrawingLineCompleted when the user lifts their finger/stylus. As a result, all drawn lines disappear immediately after the touch ends.
This issue does not occur if the DrawingView is placed directly on a ContentPage or in a basic MAUI layout (e.g., StackLayout, Grid).
Steps to Reproduce
- Add Syncfusion SfTabView with at least 2 SfTabItems.
- Place a DrawingView in one of the tab contents. Example:
<syncfusion:SfTabView EnableSwiping="False" x:Name="MyTabView"> <syncfusion:SfTabItem Header="Tab 1"> <Label Text="Just some content here" HorizontalOptions="Center" VerticalOptions="Center"/> </syncfusion:SfTabItem> <syncfusion:SfTabItem Header="Drawing"> <!-- Wrapping DrawingView in a non-transparent container --> <Grid InputTransparent="False" BackgroundColor="LightGray"> <toolkit:DrawingView x:Name="MyDrawingView" LineColor="Black" LineWidth="4" DrawingLineCompleted="OnDrawingLineCompleted" DrawingLineStarted="OnDrawingLineStarted" DrawingLineCancelled="OnDrawingLineCancelled" /> </Grid> </syncfusion:SfTabItem> </syncfusion:SfTabView>
Version with bug
1.0.4
Is this a regression from previous behavior?
Not sure, haven't tested other versions
Last Known Working Version
1.0.3
Affected platforms
iOS
Affected Platform Versions
iOS 18
Have you found a workaround?
No