This repository has been archived by the owner on May 1, 2024. It is now read-only.
[Bug] ScrollViewRenderer HorizontalFadingEdgeEnabled ignored on horizontal ScrollView orientation #11185
Labels
a/scrollview
in-progress
This issue has an associated pull request that may resolve it!
s/unverified
New report that has yet to be verified
t/bug 🐛
Description
Setting
HorizontalFadingEdgeEnabled
in aScrollViewRenderer
does not produce the expected result of fading the left and right edges on overflowing content. After looking into the source code, it appears that a second view is created for horizontal scroll behavior. The flags for controlling edge fading are not delegated to that view.Steps to Reproduce
ScrollView
HorizontalFadingEdgeEnabled
totrue
and invokeSetFadingEdgeLength
on element and orientation changeExpected Behavior
Left and right edge of the scrolled content should be faded out, if there is more content to scroll to.
Actual Behavior
The default look is still present. No edges are faded.
Basic Information
Workaround
Overriding
AddView
in the renderer to intercept the actually usedAHorizontalScrollView
and setting the fading edge properties on that view resulted in the correct behavior of fading left and right edges.The text was updated successfully, but these errors were encountered: