dotnet / dotnet/maui

Childrens of the StackLayout layouts overlaps above on page title by default and above on window while resizing the window.

Open
#10,087 5 comments 0 reactions 0 assignees View on GitHub
area-layout layout-stack platform/windows s/triaged s/verified t/bug
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 15h
Merged PRs (30d)
290

Description

### Description

When the height request and width request is to StackLayout. By default the children's of the stacklayout starts layout above on page title area and layouts above on window area while resizing the window.

Replication Video :
[screen-capture (3).webm](https://user-images.githubusercontent.com/92777139/189854397-fd96932a-db2f-481c-a67b-f9451fce25b1.webm)

### Steps to Reproduce

1. Run the attached sample.
2. Note By default the listview layouts above the title area.
3. Now decrease the window height at bottom.
4. See the listview layouts above the window area.

### Link to public reproduction project repository
[LayoutIssue.zip](https://github.com/dotnet/maui/files/9553658/LayoutIssue.zip)

### Version with bug

6.0.486 (current)

### Last version that worked well

Unknown/Other

### Affected platforms

Windows

### Affected platform versions

Windows

### Did you find any workaround?

no

### Relevant log output

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by running the attached LayoutIssue.zip sample on Windows and follow the listed steps with the StackLayout height and width requests. Compare the default layout near the page title with the layout while resizing the window. Done means the ListView and other StackLayout children no longer overlap the title or extend beyond the window.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.