Skip to content

Commit

Permalink
set overlay.view.frame to .zero
Browse files Browse the repository at this point in the history
  • Loading branch information
RyosukeCla committed Nov 28, 2023
1 parent 47e3270 commit 16b277c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ios/Nativebrik/Nativebrik/overlay.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class OverlayViewController: UIViewController {
self.addChild(self.modalForTriggerViewController)
self.addChild(self.triggerViewController)

self.view.frame = .zero
self.view.addSubview(self.modalViewController.view)
self.view.addSubview(self.modalForTriggerViewController.view)
}
Expand Down

0 comments on commit 16b277c

Please sign in to comment.