unoplatform/uno

`ListBox` is not implemented

Open

#1 362 ouverte le 11 août 2019

Voir sur GitHub
 (11 commentaires) (1 réaction) (0 assignés)C# (837 forks)batch import
area/porting 🖨️difficulty/medium 🤔has-repro-branchhelp wantedkind/bugplatform/wasm 🌐project/items 🧾

Métriques du dépôt

Stars
 (9 789 stars)
Métriques de merge PR
 (Merge moyen 14j 8h) (130 PRs mergées en 30 j)

Description

Current behavior

When the ItemsSource on a ListBox is set, no items are populated. However, if the browser is maximised or otherwise resized, the items will populate.

Expected behavior

ListBox is populated as soon as ItemsSource is set.

How to reproduce it (as minimally and precisely as possible)

  • Clone this repo: https://github.com/MelbourneDeveloper/RestClient.Net
  • Hard reset to Tag UnoIssue1362
  • Open the samples solution
  • Restore NuGets
  • Run the sample RestClient.Net.Samples.Uno.Wasm
  • Click the 'Get My Repos' button. Notice that the "Loading..." text comes up quickly and disappears but you do not see any items in the ListBox.
  • Resize the browser window
  • Notice items show up in the top ListBox

Environment

Windows 10 Firefox (WASM)

Visual Studio

  • 2017 (version: 15.9.14)

Anything else we need to know?

This has happened in multiple different projects. It also happens in Edge.

Guide contributeur