You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 5, 2020. It is now read-only.
There are times when addSubview is called on a view that is not currently in the DOM, making it impossible to perform layout or calculate CSS on the view in viewWillAppear or viewDidAppear.
We need to be aware of the cases where addSubview will not actually be adding the view to the DOM just yet and not call the callbacks until the view is added to the DOM.
For an example of where this condition exists, take a look at Aphid.UI.ListView. The ListViewItems are added to the ListView instance before the ListView is added to the DOM.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There are times when addSubview is called on a view that is not currently in the DOM, making it impossible to perform layout or calculate CSS on the view in viewWillAppear or viewDidAppear.
We need to be aware of the cases where addSubview will not actually be adding the view to the DOM just yet and not call the callbacks until the view is added to the DOM.
For an example of where this condition exists, take a look at Aphid.UI.ListView. The ListViewItems are added to the ListView instance before the ListView is added to the DOM.
The text was updated successfully, but these errors were encountered: