PageView icon indicating copy to clipboard operation
PageView copied to clipboard

Crown support?

Open 29satnam opened this issue 2 years ago • 1 comments

Great library, thanks to the developer. Any idea how can i make the digital crown work with it?

29satnam avatar Nov 04 '22 12:11 29satnam

As for now, there's no support for smooth scrolling using digital crown. You could work around it using selectedPage binding wrapper for crown offset (and value range 0..<pageCount and stride = 1.0), but it would not produce scrolling experience expected on watchOS (one crown "step" would switch between pages).

But I think it's good idea for future versions. Implementing this should not be hard.

fredyshox avatar Nov 07 '22 21:11 fredyshox