Skip to content

Non-editable ComboBox not working properly in touch device #9910

Open

Description

Describe the bug

While using touch device, the non-editable Combo Box items are moving continuously in a cyclic manner.

Is there any option to stop this cyclic scrolling behavior of non-editable ComboBox while using in touch devices?

Steps to reproduce the bug

  1. Open Visual Studio.
  2. Create a WinUI 3 project using the project template Blank App, Packaged (WinUI 3 in Desktop)
  3. Add the following ComboBox code in MainWindow.xaml file.
<ComboBox Width="200">
    <x:String>item 1</x:String>
    <x:String>item 2</x:String>
    <x:String>item 3</x:String>
    <x:String>item 4</x:String>
    <x:String>item 5</x:String>
    <x:String>item 6</x:String>
    <x:String>item 7</x:String>
    <x:String>item 8</x:String>
    <x:String>item 9</x:String>
    <x:String>item 10</x:String>
    <x:String>item 11</x:String>
    <x:String>item 12</x:String>
    <x:String>item 13</x:String>
    <x:String>item 14</x:String>
    <x:String>item 15</x:String>
</ComboBox>
  1. Build the project.
  2. Run the application in a device that having touch support.
  3. Touch to open the ComboBox drop-down.
  4. Scroll the items using finger on drop-down.

Expected behavior

Scrolling should be stopped when reaching the last item.

Screenshots

image

NuGet package version

Windows App SDK 1.5.6: 1.5.240802000

Packaging type

Packaged (MSIX)

Windows version

Windows 10 version 22H2 (19045, 2022 Update)

IDE

Visual Studio 2022

Additional context

No response

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions