Skip to content

[Android][IOS] performance issue when combobox contains a lot of items #8897

Closed

Description

@Marc-Antoine-Soucy

Current behavior

3combobox

When navigating to a page containing several combobox with a lot of items (~250), it takes a lot of time to load the page. In the example above, I am showing this is the case even when the combobox is collapsed. The upper button leads to a page containing combobox with 5 items, while the button below leads to a page containing three combobox with 250 items.

Expected behavior

comboboxuwp
It should ideally have little load time for both.

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

BigComboBox.zip
The reason there are several combobox and the items are visible is to show that a: it doesnt matter that the items are collapsed or not and several combobox makes the issue worse. And also, because it mirrors a real issue I have.

Workaround

I havent found any.

Works on UWP/WinUI

Yes

Environment

Uno.UI / Uno.UI.WebAssembly / Uno.UI.Skia

NuGet package version(s)

image
image

The nugget in the sample I gave is the latest stable, but I tried with the newest uno.ui (which is shown here)

Affected platforms

iOS, Android

IDE

Visual Studio 2022

IDE version

17.0.6

Relevant plugins

No response

Anything else we need to know?

I am honestly not sure if this is a just a limitation of android or IOS, but it would be great if it could get better because it can get worse than in the sample app.

Anothing I feel is important to note is, I think it, doubling the number of items more than doubles the loading time.

Activity

  1. added
    kind/bug
    triage/untriaged
    difficulty/tbd
    on May 26, 2022
  2. MartinZikmund commented on May 30, 2022

    @MartinZikmund
    Member

    Agreed, this is an important performance problem. We have an issue open for this - #556, so I will close this one as duplicate; but I will bump the priority on it. Please upvote #556 as well 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    difficulty/tbdkind/bugtriage/untriaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions