Open bstrother1 opened 2 years ago
We will need to check if this issue is happening with something else than the nested ReactiveUI RoutedViewHost, or if it's really specific to that only.
XAML extract from the attached sample project:
<ScrollViewer>
<Grid>
<StackPanel VerticalAlignment="Top" Orientation="Horizontal">
<reactiveUi:RoutedViewHost Router="{x:Bind ViewModel.Router, Mode=OneWay}" />
</StackPanel>
<Button Content="Go next" Command="{x:Bind ViewModel.GoNext, Mode=OneWay}" />
</Grid>
</ScrollViewer>
We may need to revalidate based on https://github.com/unoplatform/uno/pull/7938
@bstrother1 Can you please check if this problem is still there in the latest dev NuGet package?
Sorry for the late reply. The moment I get the opportunity I will and report the results.
@bstrother1 Can you please check if this problem is still there in the latest dev NuGet package?
Upgraded and still experiencing this on 4.2.0-dev.673 and Toolkit 7.1.11.
@bstrother1 Can you please check if this problem is still there in the latest dev NuGet package?
fail: Windows.UI.Xaml.Controls.ScrollContentPresenter[0] The member float ZoomFactor is not implemented in Uno.
Not sure if this is the issue but it throws when accidentally scrolling.
Current behavior
Current Behavior: Scrollviewer wrapped around a User control with ReactiveUI doesn't correctly determine the UserControl length and allows scrolling when no scrolling should be. Does not occur with UWP build. UnoIncorrectHeight.zip
Expected behavior
Scrollviewer correctly determines window parameters.
In UWP this works correctly but in WPF the ScrollView is unable to determine height of nested usercontrol.
How to reproduce it (as minimally and precisely as possible)
Steps To Reproduce: 1) Have MVVM build 2) Use ReactiveUI 3) Wrap Grid with Scrollview
Workaround
No response
Works on UWP/WinUI
Yes
Environment
WPF
NuGet package version(s)
Affected platforms
No response
IDE
Visual Studio 2022
IDE version
17.0.4
Relevant plugins
No response
Anything else we need to know?
No response