-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CommunityToolkit.WinUI.Controls.SettingsControls Causes UI Issues with SelectorBar (WinUI 3) #408
Comments
Duplicate of: #365 WCT 8.1 should resolve this issue. @Zakariathr22 could you try the preview packages to see if the issue is resolved? More info here: https://github.com/CommunityToolkit/Windows/wiki/Preview-Packages You're looking for the |
I appreciate your response, @niels9001. I’ve installed the most recent prerelease of CommunityToolkit.WinUI.Controls.SettingsControls (version 8.1.240405-build.1014) from the source you suggested. But this error appeared when I attempted to run the app just now.
Is there something I might have overlooked? |
I'm having the same issue, both with the latest rc from nuget.org (8.1.240328-rc) and the latest one from the repo you posted (8.1.240405-build.1014). |
Potential Solution Identified, Although Temporary:There's no requirement to install the Prerelease of Rationale:I observed that all controls operate smoothly when I also noticed that the WinUI3 Gallery App employs the When I attempted the same approach (merely adding About The Second ErrorFor now, the latest two versions of the CodeThis is a XAML code for a Windows application interface that includes a
Screenshots |
Describe the bug
In a WinUI 3 app, adding the
CommunityToolkit.WinUI.Controls.SettingsControls
NuGet package breaks the rendering of aSelectorBar
control. TheSelectorBar
visually malfunctions after the package is installed, despite functioning correctly before.Steps to reproduce
SelectorBar
as shown below:At this point, everything functions as expected when you run the app.
NuGet Package Manager
, search forCommunityToolkit.WinUI.Controls.SettingsControls
, and install the most recent stable version (in my case, it’s 8.0.240109). This package comes with four transitive packages:CommunityToolkit.Common
(version 8.2.1 in my case)CommunityToolkit.WinUI.Extensions
(version 8.0.240109 in my case)CommunityToolkit.WinUI.Helpers
(version 8.0.240109 in my case)CommunityToolkit.WinUI.Triggers
(version 8.0.240109 in my case)Expected behavior
After adding the
CommunityToolkit.WinUI.Controls.SettingsControls
package to the WinUI3 application, theSelectorBar
should function as intended without blocking or causing the application to break. The application should run smoothly without throwing any unhandled exceptions, regardless of the addition of theSettingsControls
package. TheSelectorBar
should be responsive and interactive, allowing for the proper selection of items.Screenshots
Code Platform
Windows Build Number
Other Windows Build number
No response
App minimum and target SDK version
Other SDK version
No response
Visual Studio Version
No response
Visual Studio Build Number
No response
Device form factor
No response
Additional context
No response
Help us help you
Yes, I'd like to be assigned to work on this item.
The text was updated successfully, but these errors were encountered: