ScrollViewer "trims" bottom part of content.
See original GitHub issueScrollViewer (and controls that uses it) “trims” bottom part of content, when vertical scrollbar is visible. Some examples:
Without vertical scrollbar:
With vertical scrollbar:
As you see, some sentences are missed.
Code snippet, that can be used for reproducing a problem:
<ScrollViewer VerticalScrollBarVisibility="Auto">
<TextPresenter Text="{Binding Text}" TextWrapping="Wrap" />
</ScrollViewer>
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
WPF ContentControl width grows but doesn't shrink when ...
I understand that in order for horizontal scrollbar to work the parent or child of the scrollviewer needs Width set, i guess i...
Read more >ScrollViewer.ScrollToBottom Method (System.Windows. ...
Logical scrolling is used to scroll to the next element in the logical tree. This differs from physical scrolling, which scrolls content by...
Read more >scroll-margin-bottom - CSS: Cascading Style Sheets | MDN
The scroll-margin-bottom property defines the bottom margin of the scroll snap area that is used for snapping this box to the snapport.
Read more >scroll-padding-bottom - CSS: Cascading Style Sheets | MDN
The scroll-padding-bottom property defines offsets for the bottom of the optimal viewing region of the scrollport: the region used as the ...
Read more >ScrollViewer Overview - WPF .NET Framework
Content within a user interface is often larger than a computer screen's display area. The ScrollViewer control provides a convenient way to ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So you’re using
TextPresenter
in a control template, is that correct? I’m not able to reproduce this onmaster
with the following xaml inControlCatalog.Pages.TextBoxPage
:It could be that we’ve already fixed this since 0.8.1, or could be that your code is doing something different. Could you give some more details, or even a repro in
ControlCatalog
?Closing this due to inactivity.