Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Introducing RowHeight in ListView causes ContentView not to render within StackLayout #3640

Closed
S1r-Lanzelot opened this issue Aug 22, 2018 · 1 comment
Labels
a/layout a/listview Problems with the ListView/TableView e/5 🕔 5 excellent-report help wanted We welcome community contributions to any issue, but these might be a good place to start! inactive Issue is older than 6 months and needs to be retested p/Android p/iOS 🍎 t/bug 🐛 up-for-grabs We welcome community contributions to any issue, but these might be a good place to start!

Comments

@S1r-Lanzelot
Copy link

S1r-Lanzelot commented Aug 22, 2018

Description

I have a nested ContentView, which contains a ListView, that is within a StackLayout - when I add RowHeight to this ListView the list no longer renders. However, if I take the ContentView, which contains the ListView, out of the StackLayout - it will work.

Steps to Reproduce

Please just look at the example app to see what I mean. I was testing this on an Android emulator.
I give a WorkingPage and NotWorkingPage with some comments. Please let me know if you would like more clarification.

The views are in XAML and I am using an MVVM pattern

Expected Behavior

Nesting a ContentView in a StackLayout does not break a ListView's functionality.

Actual Behavior

ListView does not behave correctly.

Basic Information

  • Version with issue: Xamarin.Forms v3.2.0.79530-pre2
  • Last known good version: N/A
  • IDE: VS 2017 15.8.1
  • Platform Target Frameworks:
    • Android: 8.1
    • iOS: I was not able to test this but the Forms solution is set up to see if it happens on iOS
  • Android Support Library Version:
  • Nuget Packages: Prism
  • Affected Devices:

Screenshots

Reproduction Link

https://github.com/S1r-Lanzelot/BrokenListView

@S1r-Lanzelot S1r-Lanzelot changed the title Introducing RowHeight in nested custom ListView causes view not to render Introducing RowHeight in ListView causes custom view not to render within stack layout Aug 22, 2018
@S1r-Lanzelot S1r-Lanzelot changed the title Introducing RowHeight in ListView causes custom view not to render within stack layout Introducing RowHeight in ListView causes ContentView not to render within StackLayout Aug 22, 2018
@samhouts samhouts added the inactive Issue is older than 6 months and needs to be retested label Feb 19, 2019
@samhouts samhouts added help-wanted up-for-grabs We welcome community contributions to any issue, but these might be a good place to start! help wanted We welcome community contributions to any issue, but these might be a good place to start! and removed help-wanted labels Jun 28, 2019
@samhouts samhouts added the a/listview Problems with the ListView/TableView label Feb 24, 2020
@samhouts samhouts added this to the 5.0.0 milestone Aug 13, 2020
@samhouts samhouts removed this from the 5.0.0 milestone Nov 2, 2020
@S1r-Lanzelot
Copy link
Author

Cleaning up my github and reviewed this. It is likely stale so I am closing,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/layout a/listview Problems with the ListView/TableView e/5 🕔 5 excellent-report help wanted We welcome community contributions to any issue, but these might be a good place to start! inactive Issue is older than 6 months and needs to be retested p/Android p/iOS 🍎 t/bug 🐛 up-for-grabs We welcome community contributions to any issue, but these might be a good place to start!
Projects
Archived in project
Development

No branches or pull requests

3 participants