Skip to content

[iOS/Android]: support VirtualizingPanel in ComboBox/CarouselPanel #556

Closed

Description

@yowl

I'm submitting a...

  • Feature request

Current behavior

The ComboBox does not virtualize the items leading to poor performance

Expected behavior

UWP uses a CarouselPanel which extends from VirtualizingPanel to give good performance, wasm should do the same.

Minimal reproduction of the problem with instructions

Add a combo with a lot of items and try to open it in wasm, its slow even given its interpreted.

Environment

Nuget Package:


Package Version(s):

Affected platform(s):

  • iOS
  • Android
  • WebAssembly
  • Windows
  • Build tasks

Visual Studio

  • [x ] 2017 (version: )
  • 2017 Preview (version: )
  • for Mac (version: )

Relevant plugins

  • Resharper (version: )

Activity

  1. added
    kind/bug
    on Feb 4, 2019
  2. changed the title [-]WASM: support VirtualizingPanel in ComboBox/CarouselPanel[/-] [+][iOS/Android/WASM]: support VirtualizingPanel in ComboBox/CarouselPanel[/+] on Apr 29, 2019
  3. added
    platform/android 🤖
    platform/ios 🍎
    platform/wasm 🌐
    kind/enhancement
    and removed
    kind/enhancement
    on May 22, 2019
  4. davidjohnoliver commented on Jul 16, 2019

    @davidjohnoliver
    Contributor

    Implemented for WASM by #1134.

  5. pkar70 commented on Nov 11, 2019

    @pkar70
    Contributor

    Is there any hope for quick ComboBox? Without 25 seconds delay for adding ~200 items?

  6. davidjohnoliver commented on Nov 11, 2019

    @davidjohnoliver
    Contributor

    You can try the following:

    			<not_win:ComboBox.ItemsPanel>
    				<ItemsPanelTemplate>
    					<ItemsStackPanel />
    				</ItemsPanelTemplate>
    			</not_win:ComboBox.ItemsPanel>
  7. pkar70 commented on Nov 11, 2019

    @pkar70
    Contributor

    Current XAML:

    <ComboBox x:Uid="resAll" Name="uiStopList" Grid.Row="2" Header="Tram" Margin="0,20,0,15" DoubleTapped="uiStopList_DoubleTapped" SelectionChanged="uiStopList_SelectionChanged"/>

    Convert it to:
    <ComboBox x:Uid="resAll" Name="uiStopList" Grid.Row="2" Header="Tram" Margin="0,20,0,15" DoubleTapped="uiStopList_DoubleTapped" SelectionChanged="uiStopList_SelectionChanged">
    <not_win:ComboBox.ItemsPanel>
    <ItemsPanelTemplate>
    <ItemsStackPanel />
    </ItemsPanelTemplate>
    </not_win:ComboBox.ItemsPanel>
    </ComboBox>

    ?

  8. changed the title [-][iOS/Android/WASM]: support VirtualizingPanel in ComboBox/CarouselPanel[/-] [+][iOS/Android]: support VirtualizingPanel in ComboBox/CarouselPanel[/+] on May 12, 2020
  9. added
    project/items 🧾
    on Sep 21, 2020
  10. 7 remaining items

  11. davidjohnoliver commented on Aug 11, 2021

    @davidjohnoliver
    Contributor

    Note to contributors: One thing to consider would be using the 'managed' ListView implementation for the ComboBox ItemsPanel, since it works on Android and iOS, and many of the features it lacks (grid layout, inline header/footer, grouping etc) aren't applicable to ComboBox anyway.

  12. yowl commented on Aug 11, 2021

    @yowl
    ContributorAuthor

    We use a grid in the popup part, would that be impossible without the "grid layout" you mention? Scenario is that the list is long and has "special items" at the end. At the top of the list is a button which scrolls straight to the "special items"

  13. davidjohnoliver commented on Aug 11, 2021

    @davidjohnoliver
    Contributor

    @yowl No, it should be fine. :) The approach I floated would only be used for the default ComboBox behaviour, ie when ItemsPanel is a CarouselPanel. If you're overriding the ItemsPanel then you won't be affected. (By 'grid layout' I meant the ItemsWrapGrid panel, that wasn't very clear.)

  14. added
    area/performance 📈
    on May 30, 2022
  15. MartinZikmund commented on May 30, 2022

    @MartinZikmund
    Member

    From #8897 -

    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.

    This is important mention here - the performance degradation applies even if the combo is never opened.

  16. changed the title [-][iOS/Android]: support VirtualizingPanel in ComboBox/CarouselPanel[/-] [+][iOS/Android]: support `VirtualizingPanel` in `ComboBox`/`CarouselPanel`[/+] on Jun 2, 2023
  17. github-actions commented on Jul 17, 2025

    @github-actions
    Contributor

    This issue has become stale with over 1 year of inactivity and will be closed in 10 days unless a comment is provided or the stale label is removed.

  18. added
    stale
    on Jul 17, 2025
  19. yowl commented on Jul 17, 2025

    @yowl
    ContributorAuthor

    Has it been fixed?

  20. removed
    stale
    on Jul 18, 2025
  21. jeromelaban commented on Jul 18, 2025

    @jeromelaban
    Member

    Indeed, yes, it's fixed in the Skia Render targets for all platforms.

  22. github-actions commented on May 4, 2026

    @github-actions
    Contributor

    This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests.

  23. locked as resolved and limited conversation to collaborators on May 4, 2026
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

    area/performance 📈difficulty/challenging 🤯kind/bugplatform/android 🤖platform/ios 🍎platform/wasm 🌐project/items 🧾

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions