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]Double value cannot be converted to int because it is either infinite or NaN, issue rarely on iphone and always on VisionOS #339

Open
kunalzigma opened this issue Nov 14, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@kunalzigma
Copy link

To Reproduce
Hard to reproduce on iPhone but it always persistent on visionOS simulator on MAC. Dragging the pager, causes this crash on visionOS.

Expected behavior
Should not crash.

Screenshots / Videos
Screenshot 2024-11-14 at 10 10 18 AM

Environment:
OS - iOS 15.8.3 and visionOS 2.1
Device - iPhone 7 & vision Simulator
SwiftUIPager version - branch main

@kunalzigma kunalzigma added the bug Something isn't working label Nov 14, 2024
@teameh
Copy link
Contributor

teameh commented Nov 25, 2024

I'm seeing the same issue on iPad when creating snapshots with snapshot-testing

image

Xcode 16.1
iPad Air 11" M2 iOS 18.1

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