dotnet / dotnet/wpf

WPF: Nested Scrollviewer do not repsect parent MaxHeight constraints

Open
#3,760 0 comments 1 reaction 0 assignees View on GitHub
.NET Framework
Dominant language
C#
Stars
7.7k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
61

Description

_This issue has been moved from [a ticket on Developer Community](https://developercommunity2.visualstudio.com/t/WPF:-Nested-Scrollviewer-do-not-repsect-/807392)._

---
When doing a layout like this in a WPF App(Fullframework or .Net Core) the nested Scrollviewer is not respecting the MaxHeight of the first Grid Row

```















```

Actual Result:
ActualHeight of the ScrollViewer is 800px and I can not scroll the nested scrollviewer

Expected Result:
ActualHeight of the ScrollViewer is 400px bacause MaxHeight of Colum in the Grid is 400p and I can scroll the nested scrollviewer

Same things happen if nesting the scrollviewer this way instead of using a Grid.

```


```

---
### Original Comments

#### Feedback Bot on 11/6/2019, 02:12 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

#### Feedback Bot on 12/13/2019, 10:47 AM:

I have detected that for the last 35 days, this issue didn't have much product team activity and a very small amount of new votes or comments. Based on this, its severity, and affected area, it’s my experience that this issue is very unlikely to be fixed.

---
### Original Solutions
(no solutions)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.