Skip to content

Pointer events are not raised for ListView items when ItemContainer is used inside ItemTemplate #23892

Closed

Description

@jhanvi03

Current behavior 🐛

When an ItemContainer is used as the root element inside a ListView.ItemTemplate, mouse interaction does not reach the ListView as expected.

Using the same pointer-event diagnostics across four controls:

  • Standard SelectorBar
  • Wrapped SelectorBar
  • Standard ListView
  • ListView with ItemContainer

Pointer events are correctly recorded for the first three controls. However, for the ListView containing an ItemContainer, clicking an item does not record PointerPressed, PointerReleased, or PointerCaptureLost.

As a result:

  • The clicked item is not selected.
  • SelectedItem remains unchanged.
  • SelectionChanged is not raised.
  • The pointer diagnostics are not updated.

Touch input may still behave differently and allow selection. This is working as expected with 6.5.36

Expected behavior 🎯

Clicking an item should raise the relevant pointer events and update the ListView selection consistently.

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

  1. Build solution for any TFMs with the attached solution
  2. Observe th behavior for 4th section "Listview with ItemContainer"

Uno6SR1.zip

Workaround 🛠️

No response

Renderer 🎨

  • Skia
  • Native

Affected platforms 📱💻🖥️

Android, iOS, Desktop (macOS)

Uno.Sdk version (and other relevant versions) 📦

6.6.29, 6.6.33, 6.7.0-dev.143

IDE version 🧑‍💻

No response

Anything else we need to know? 💬

No response

Activity

  1. added
    triage/untriaged
    on Jul 27, 2026
  2. added theissue type on Jul 27, 2026
  3. agneszitte commented on Jul 27, 2026

    @agneszitte
    Member

    Related to #23841

  4. agneszitte commented on Jul 31, 2026

    @agneszitte
    Member

    @jhanvi03, @khaskoul can you re-validate this issue with latest Uno.Sdk 6.7.0-dev.158 version please

  5. jhanvi03 commented on Aug 3, 2026

    @jhanvi03
    Author

    Issue resolved in latest sdk/template

    Tested with:
    SDK/Templates: 6.7.0-dev.158
    IDE: VSC
    OS: Mac, windows, Linux
    TFM: WASM, Desktop, iOS, Android

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

Metadata

Metadata

Assignees

Labels

triage/untriaged

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions