Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] tvOS scrolling not working #300

Open
HenryGlendening opened this issue Sep 25, 2022 · 1 comment
Open

[BUG] tvOS scrolling not working #300

HenryGlendening opened this issue Sep 25, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@HenryGlendening
Copy link

HenryGlendening commented Sep 25, 2022

Describe the bug
Regression of issue #237:

Unable to scroll on tvOS even though package claims to be tvOS compatible.
The directional buttons on the device's newer Siri remote allow navigating between the Pager's pages, however, performing swipe gestures on either Siri remote does not cause the Pager to respond and navigate.

This affects the Apple TV 4K and Apple TV HD devices and both kinds of Apple TV Siri remotes.

To Reproduce
Implement a basic example with focusable areas, such as NavigationLink

Expected behavior
Expected to scroll left or right using Apple TV Remote, just like on a standard ScrollView.

Screenshots / Videos
On the screenshot, left item is in focus. It is not centered and unable to scroll to the left, beyond this item (there a total of 5 in the pager)

Environment

  • tvOS 16.0, tvOS 15.5.1
  • AppleTV 4K, AppleTV HD
  • SwiftUIPager version: 2.5.0
@HenryGlendening HenryGlendening added the bug Something isn't working label Sep 25, 2022
@HenryGlendening HenryGlendening changed the title [BUG] [BUG] tvOS scrolling not working Sep 25, 2022
@metin-atalay
Copy link

metin-atalay commented Nov 24, 2022

Hi @HenryGlendening ,
We use this lib in our project, there isn't any error about your situation.
but the page width in our pager and the screen width is the same. If you try something like that, will it work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants