unoplatform/uno

`ListBox` is not implemented

Open

#1,362 建立於 2019年8月11日

在 GitHub 查看
 (11 留言) (1 反應) (0 負責人)C# (837 fork)batch import
area/porting 🖨️difficulty/medium 🤔has-repro-branchhelp wantedkind/bugplatform/wasm 🌐project/items 🧾

倉庫指標

Star
 (9,789 star)
PR 合併指標
 (平均合併 14天 8小時) (30 天內合併 130 個 PR)

描述

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.

貢獻者指南