Skip to content

Unable to disable distance handling for UIHostingControllers #2182

Description

@ihar-shalouski

Is your feature request related to a problem? Please describe.
There's disabledDistanceHandlingClasses property but it cannot be used for UIHostingControllers because of the class matching, you cannot add any kind of exception that would exclude UIHostingControllers for specific view type or even for all of SwiftUI types

Describe the solution you'd like
Add a property disabledDistanceForUIHostingViewControllers.

Describe alternatives you've considered
I'm not sure if other ways are stable enough, seems like disabling the distance handling for all SwiftUI views is the only way to fix it.

Additional context
Nope

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions