Skip to content

Fix view controller which’s being dismissed#28

Merged
mikhailmaslo merged 1 commit intomainfrom
feature/fix-presenting-vc-dismiss
Jul 28, 2023
Merged

Fix view controller which’s being dismissed#28
mikhailmaslo merged 1 commit intomainfrom
feature/fix-presenting-vc-dismiss

Conversation

@mikhailmaslo
Copy link
Collaborator

As reported by @VGrokhotov in #27 bottom sheet dismisses multiple bottom sheets in hierarchy

As it turned out in code BottomSheet dismissed presentingViewController instead of presentedViewController, strangely enough UIKit worked as expected with 1 presented BottomSheet

@VGrokhotov
Copy link

LGTM! Works as expected! Thank you for such a fast fix! @mikhailmaslo

@mikhailmaslo mikhailmaslo merged commit 375cc24 into main Jul 28, 2023
@mikhailmaslo mikhailmaslo deleted the feature/fix-presenting-vc-dismiss branch July 28, 2023 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants