unoplatform/uno

`ListBox` is not implemented

Open

#1362 aperta il 11 ago 2019

Vedi su GitHub
 (11 commenti) (1 reazione) (0 assegnatari)C# (837 fork)batch import
area/porting 🖨️difficulty/medium 🤔has-repro-branchhelp wantedkind/bugplatform/wasm 🌐project/items 🧾

Metriche repository

Star
 (9789 star)
Metriche merge PR
 (Merge medio 14g 8h) (130 PR mergiate in 30 g)

Descrizione

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.

Guida contributor