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

[Bug] CollectionView iOS draws both EmptyView and Items/ItemTemplate #13794

@RemcoDEV

Description

@RemcoDEV

Description

CollectionView iOS draws both EmptyView and Items/ItemTemplate. The itemtemplate UI becomes unresponsive, because the emptyview is drawn over it.

Steps to Reproduce

  1. Create a collectionview with an itemtemplate and an emptyview.
  2. Fill the collectionview in the viewmodel and call onpropertychanged on the itemssource binding.
  3. Sometimes (~3 out of 5 times) the collectionview displays both the emptyview and the itemtemplates.

Expected Behavior

Only draw the emptyview when the itemssource is empty.

Actual Behavior

Both the emptyview and the items/itemtemplates are drawn.

Basic Information

  • Version with issue: release-5.0.0-sr3.1
  • Last known good version: release-5.0.0-sr2
  • Platform Target Frameworks:
    • iOS: 14.3
    • Android: Works fine on android
    • UWP: --
  • Android Support Library / AndroidX Version: --
  • NuGet Packages:
  • Affected Devices: tablets, phones

Environment

Visual Studio 2019 / Windows 10

Build Logs

--

Screenshots

'Nothing to display' is the emptyview.
This example is a grouped collectionview, but it also happens to non-grouped collectionviews.
IMG_0060

Reproduction Link

--

Workaround

Reconstructing the page sometimes works.
Refreshing does not work. Something definitely goes wrong when constructing the page.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions