Skip to content

InfiniteCanvas Control Giving Crash On WinUi3 Desktop App #4105

Open
@sangitamalviya

Description

@sangitamalviya

Description:
app is getting crash if use InfiniteCanvas control on Winui3 Desktop Application

Steps to reproduce the behavior:
1.Create a new WinUI 3 Desktop App
2.Add a InfiniteCanvas to MainWindow.xaml
3.Start the App && Observe

xmal code :-
<Page
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:controls="using:CommunityToolkit.WinUI.UI.Controls"
    mc:Ignorable="d"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
    <Grid>
        <controls:InfiniteCanvas x:Name="InfiniteCanvasControl" IsToolbarVisible="True"/>
    </Grid>

Enviroment:
NuGet Package(s): CommunityToolkit.WinUI.UI.Controls(7.0.2)
Microsoft.ProjectReunion(0.5.7)
InfiniteCanvasBug

Metadata

Metadata

Assignees

No one assigned

    Labels

    WinUI 💠Related to WinUI 3 Version or when paired with External can mean requires fix in WinUI 2/3.bug 🐛An unexpected issue that highlights incorrect behaviorcontrols 🎛️external ⤴️Requires an update to an external dependency or due to code outside the Toolkit.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions