This repository has been archived by the owner on May 1, 2024. It is now read-only.
[Bug] ScrollView ScrollOrientation.Neither not working properly #8497
Labels
e/4 🕓
4
help wanted
We welcome community contributions to any issue, but these might be a good place to start!
inactive
Issue is older than 6 months and needs to be retested
p/Android
p/iOS 🍎
t/bug 🐛
up-for-grabs
We welcome community contributions to any issue, but these might be a good place to start!
Projects
Description
ScrollView doesn't quite behave as expected when changing the orientation to Neither. I have a scroll view, with a stack layout that has 2 items (probably not important). One of the items is very tall.
By default, the big item causes the scroll view to scroll as expected.
If I set the orientation to neither in the page constructor or in XAML, Android goes weird and resizes my big view and my touch events are all mixed up for my canvas view. iOS does not resize my view, and my touch events are fine. It is almost as if the Android view is scrolling, but not actually :)
The other side of this is when I set the orientation later on, such as in a button click. Both platforms just ignore this change and still keep scrolling.
Steps to Reproduce
Expected Behavior
ScrollView.Orientation = Neither always disables scroll, and does not resize contents.
Actual Behavior
Android:
iOS & UWP:
Basic Information
Screenshots
Reproduction Link
The text was updated successfully, but these errors were encountered: