Skip to content

[BUG]Double value cannot be converted to int because it is either infinite or NaN, issue rarely on iphone and always on VisionOS #339

@kunalzigma

Description

@kunalzigma

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions