Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
If i use a Pivot item from the WinUI 2 stuff, i always get the issue in Skia.GTK (not in UWP) that if i scroll while having a pivot element close to me, it scrolls away the pivot element (as if i had an big webpage that i could scroll left and right, and i scroll away from the pivot)
It seems like we have a bunch of problems with Pivots:
Scrolling up and down shouldn't scroll the Pivot sideways. I found an easy fix for this.
It seems like we have a singular ScrollContentPresenter that does the scrolling for the headers and the content at the same time. On Windows, both the header Grid and the content itself both get scrolled (like uno), but the header Grid is scrolled a lot more slowly, such that when the entire content is scrolled, the header grid is only scrolled by one item title.
Also, the content for the next pivot item starts scrolling into the view port to replace the previous pivot item. We don't seem to do this.
Once the scrolling is released, it snaps to either the previous or the new pivot item depending on whether the scrolling made it past 50%.
We also don't seem to have the < and > buttons on the side like this:
Originally posted by @NicoAICP in https://github.com/unoplatform/uno/discussions/9032
If i use a Pivot item from the WinUI 2 stuff, i always get the issue in Skia.GTK (not in UWP) that if i scroll while having a pivot element close to me, it scrolls away the pivot element (as if i had an big webpage that i could scroll left and right, and i scroll away from the pivot)
Repro