We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ad35ce commit f217dc7Copy full SHA for f217dc7
ios/PagerViewProvider.swift
@@ -84,9 +84,11 @@ import UIKit
84
props.children.remove(at: index)
85
}
86
87
- override public func layoutSubviews() {
88
- super.layoutSubviews()
89
- setupView()
+ override public func didMoveToWindow() {
+ super.didMoveToWindow()
+ if window != nil {
90
+ setupView()
91
+ }
92
93
94
@objc public func goTo(index: Int, animated: Bool) {
0 commit comments