-
Notifications
You must be signed in to change notification settings - Fork 693
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
New Expander control causes LayoutCycle exception in winui 2.6 preview #4255
Comments
@ranjeshj FYI |
@lhak I don't have a touch pad to test out right now, but it didn't repro with mouse. Few questions to help isolate the issue. Does it repo with keyboard/mouse or is it only when using touch pad ? Does removing the expander and just having the listview alone make it repro/not repro ? Expander is quite simple when it comes to layout, so I'm wondering if the issue is in ListView. |
@ranjeshj I have updated the sample so that it also triggers when the expander is opened and closed very quickly with a mouse click. Two observations I have made:
|
@gegao18 FYI |
Moving to rendering because of the display scaling component |
I just reproduced this in the MUXControlsTestApp with #4394 applied (also 125% display scaling). Expanders are now within a ScrollViewer on the test page since there are too many expanders to show at once. When some controls are expanded, and then the mouse scroll wheel is used, layout cycle crash occurs. This is definitely a show stopper. |
Describe the bug
Testing the new Expander control and it causes LayoutCycle exceptions if a ListView is added to it.
Steps to reproduce the bug
Steps to reproduce the behavior:
Expected behavior
Screenshots
Version Info
NuGet package version:
[Microsoft.UI.Xaml.2.6.0-prerelease.210217002]
Windows app type:
Additional context
ExpanderLayoutCycle.zip
The text was updated successfully, but these errors were encountered: