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

Fix bug where using a segmented picker within a PartialSheet leads to unresponsive picker. #165

Merged
merged 1 commit into from
Aug 30, 2023

Commits on Aug 12, 2022

  1. Fix bug where using a segmented picker within a PartialSheet leads to…

    … unresponsive picker.
    
    Remove call to onTapGesture method in iPhoneSheet builder.
    As pointed out by @ajevans99, SwiftUI seems to have trouble handling segmented pickers correctly if an onTapGesture method is added to the view that contains the picker.
    In this case of the iPhone sheet buider, the onTapGesture method call can safely be deleted since it was hardcoded to execute an empty closure.
    Removing the call should therefore not have any effect except for solving the mentioned bug.
    Julius committed Aug 12, 2022
    Configuration menu
    Copy the full SHA
    3368a15 View commit details
    Browse the repository at this point in the history