Skip to content

MacCatalyst displays suggestions using UITableView all the way down #101

@MartyIX

Description

@MartyIX

Description

Steps to Reproduce

  1. Run code from https://github.com/MartyIX/MauiEx/tree/maccatalyst/UITableView-demo (master + one commit)
  2. Click the "Simple auto-completion" button
  3. Type "United" in the "Entry a country" box

Expected Behavior

The UITableView showing suggestions should be capped to the number of found suggestions. So it should have the height to accomodate two suggestions and it should not be anchored to the bottom of the window.

Actual Behavior

UITableView cover the area to the bottom of the window. It does not take into account number of suggestions.

Basic Information

  • Version with issue: 0bd4ddd
  • Last known good version: N/A

Screenshots

On Windows, I can see

image

and now when the suggestions are shown:

image

On MacCatalyst, I can see

image (Notice "This text is hidden on MacCatalyst")

and now when suggestions are shown:

image

so the text "This text is hidden on MacCatalyst" is hidden. In this sample, it looks sort of OK but in my real project it looks ugly.

Reproduction Link

https://github.com/MartyIX/MauiEx/tree/maccatalyst/UITableView-demo

Metadata

Metadata

Assignees

No one assigned

    Labels

    F-AutoSuggestBoxFeature: AutoSuggestBox controlbugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions