Skip to content

[Android][WASM] CommandBar is clipped when secondary commands is opened, and the popup is not dismissed when a pointer clicks outside it #13147

Open

Description

@ramezgerges

Current behavior

2023-08-07.13-50-32.mp4
2023-08-07.15-02-31.mp4

Notice that on Android, the secondary commands window can't be dismissed except by clicking on one of the choices. Clicking outside doesn't work.

Expected behavior

The bar shouldn't be clipped.

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

Check out the repro at #1509

Workaround

Resize the viewport.

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

No response

Affected platforms

WebAssembly

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

Activity

  1. added
    kind/bug
    triage/untriaged
    difficulty/tbd
    on Aug 7, 2023
  2. added
    area/commandbar
    on Aug 7, 2023
  3. changed the title [-][WASM] CommandBar is clipped when secondary commands is opened[/-] [+][Android][WASM] CommandBar is clipped when secondary commands is opened[/+] on Aug 7, 2023
  4. self-assigned this
    on Aug 8, 2023
  5. changed the title [-][Android][WASM] CommandBar is clipped when secondary commands is opened[/-] [+][Android][WASM] CommandBar is clipped when secondary commands is opened, and the popup is not dismissed when a pointer clicks outside it[/+] on Aug 11, 2023
  6. ramezgerges commented on Aug 11, 2023

    @ramezgerges
    ContributorAuthor

    @MartinZikmund This seems to be broken by #12597. CommandBar is implemented really weirdly, so the numbers for measure/arrange (DesizedSize, etc) don't really change when the CommandBar is expanded, so the render invalidation is not complete. I'm not sure exactly what condition needs to be additionally checked for this to work.

  7. added
    kind/regression
    and removed
    kind/bug
    on Aug 14, 2023
  8. self-assigned this
    on Sep 5, 2023
  9. added
    platform/wasm 🌐
    platform/android 🤖
    project/layout 🧱
    difficulty/medium 🤔
    and removed
    triage/untriaged
    difficulty/tbd
    on Sep 20, 2023
  10. removed their assignment
    on Jun 5, 2024
  11. Youssef1313 commented on Sep 21, 2024

    @Youssef1313
    Member

    For Android, we'll need to verify after #18261

  12. added theissue type on Jul 15, 2025
  13. MartinZikmund commented on Apr 13, 2026

    @MartinZikmund
    Member

    Repro generator

    This issue was classified as not reproducible with a code sample or test on the runtime-test path.

    Reason: The bug bundles two distinct symptoms — (1) visual clipping of the secondary-commands popup on Android/WASM, which requires visual inspection on those native targets, and (2) native Android pointer behavior where tapping outside the popup does not dismiss it, which depends on the native dispatch path that the Skia runtime-test runner does not exercise. The issue references the historical #1509 repro app for manual verification on Android and WASM. A runtime-test repro on Skia would not capture either symptom on the affected targets.

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

Metadata

Metadata

Assignees

Labels

area/commandbardifficulty/medium 🤔kind/regressionno-reproplatform/android 🤖platform/wasm 🌐project/layout 🧱

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions