Skip to content

ComboBox dropdown gets cutoff by the parent window (regression in 11.0.9) #14685

Closed
@hhyyrylainen

Description

Describe the bug

When a combobox dropdown is opened, it is now cutoff by the parent window it is in. This used to work in 11.0.7 fine.

I'll also note that I tested 11.0.8, but in it the dropdown didn't render at all so whatever the fix made for that in 11.0.9 doesn't fully work it seems.

To Reproduce

Steps to reproduce the behavior:

  1. Create a non-fullscreen window with a ComboBox in it that has a reasonable number of options
  2. Run the program
  3. Click on the ComboBox
  4. See that the popup to select the active item is clipped by the parent window

Expected behavior

I expect that the dropdown wouldn't be clipped by the parent window (or that the dropdown would be positioned over the window so that it doesn't get clipped due to this bug).

Screenshots

When using 11.0.9:
Kuvakaappaus - 2024-02-21 14-50-54

The exact same program (I just swapped Avalonia package reference versions) running with Avalonia 11.0.7 where the bug doesn't happen:
Kuvakaappaus - 2024-02-21 14-56-44

Environment

  • OS: Linux (Fedora 39), also happens in Flatpak environment (org.freedesktop.Platform:23.08). Both are when using Wayland.
  • Avalonia-Version: 11.0.9

Activity

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

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions