Honestly, I don't think spending the time to make it work with a scrolled view is worth it. This is something we're going to want to get right in so many different apps as a navigational feature. Personally, I think it makes the most sense to work on implementing this as a feature of gtk.stack or maybe gtk.flowbox upstream.
The biggest bug here is that scrolling just a tiny bit switches through pages much too quickly. even with just 3 pages it's extremely hard to only swipe 1 page. This really defeats the purpose of using a gesture, which is to do something more quickly than manually pressing buttons and such.
In the ideal world, moving your fingers all the way across from one side of the trackpad to the other only moves us over by one page. One swipe = one page turn. That's the really critical interaction issue here.
Making this really smooth by having the page track 1:1 with your fingers is beautiful icing on the cake, but not if we're implementing it in a way that we're not going to be able to consistently replicate.
Honestly, I don't think spending the time to make it work with a scrolled view is worth it. This is something we're going to want to get right in so many different apps as a navigational feature. Personally, I think it makes the most sense to work on implementing this as a feature of gtk.stack or maybe gtk.flowbox upstream.
The biggest bug here is that scrolling just a tiny bit switches through pages much too quickly. even with just 3 pages it's extremely hard to only swipe 1 page. This really defeats the purpose of using a gesture, which is to do something more quickly than manually pressing buttons and such.
In the ideal world, moving your fingers all the way across from one side of the trackpad to the other only moves us over by one page. One swipe = one page turn. That's the really critical interaction issue here.
Making this really smooth by having the page track 1:1 with your fingers is beautiful icing on the cake, but not if we're implementing it in a way that we're not going to be able to consistently replicate.