Skip to content
Snippets Groups Projects
Commit 6c4313c1 authored by Bruno Muniz's avatar Bruno Muniz :apple:
Browse files

fix handle touches and transitioning delegate

parent 4249191b
No related branches found
No related tags found
1 merge request!100Fixes scrolling of nickname drawer
...@@ -52,11 +52,11 @@ public struct PresentNicknameNavigator: TypedNavigator { ...@@ -52,11 +52,11 @@ public struct PresentNicknameNavigator: TypedNavigator {
let controller = viewController(action.prefilled, action.completion) let controller = viewController(action.prefilled, action.completion)
scrollViewController.addChild(controller) scrollViewController.addChild(controller)
scrollViewController.contentView = controller.view scrollViewController.contentView = controller.view
scrollViewController.wrapperView.handlesTouchesOutsideContent = true scrollViewController.wrapperView.handlesTouchesOutsideContent = false
scrollViewController.wrapperView.alignContentToBottom = true scrollViewController.wrapperView.alignContentToBottom = true
scrollViewController.scrollView.bounces = false scrollViewController.scrollView.bounces = false
controller.didMove(toParent: scrollViewController) controller.didMove(toParent: scrollViewController)
controller.transitioningDelegate = transitioningDelegate scrollViewController.transitioningDelegate = transitioningDelegate
scrollViewController.modalPresentationStyle = .overFullScreen scrollViewController.modalPresentationStyle = .overFullScreen
action.parent.present( action.parent.present(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment