xamarin/Xamarin.Forms

UWP Nested Scrolling causes measure crash

Open

#9,158 opened on 2020年1月10日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)C# (5,644 stars) (1,926 forks)batch import
a/scrollviewe/4 :clock4:help wantedi/highinactivep/UWPt/bug :bug:up-for-grabs

説明

Description

If you have a layout that is similar to ScrollView Listview (with fixed height)

UWP Crashes. It should at the very least allow this if the height is fixed on the listview.

Steps to Reproduce

  1. Add a page with a Scrollview
  2. Add a listview inside the scrollview
  3. Run

Expected Behavior

Should just work like it does on iOS and Android

Actual Behavior

Crashes with measuring issues

Basic Information

  • Version with issue: 4.4.0.991265
  • Last known good version: Unknown
  • IDE:
    • UWP: 1903

Additional

I note the issue linked on the scrollview, but this issue blocks basic dashboards. I want a list of items that are bound to data in an Expander Control with a header. I want it to have multiple widgets on said dashboard that includes charts and lists etc. You can't do this in UWP but it works fine in every other platform setting the height at run-time. It would be really great if the listview allowed you to say "Just show every item" and then disabled or didn't render it's scrollview inside, as an alternative, but really this should work identically to iOS and Android.

Alternatively, what's the work around to create a scrolling dashboard of widgets with lists?

コントリビューターガイド