Skip to content

Commit f04d4a4

Browse files
authored
Merge pull request #18619 from wordpress-mobile/fix/18585-site-url-waypoint
Quick Start for Existing Users: Fix "Preview your site" waypoint
2 parents 6b2f81a + e2b69a7 commit f04d4a4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

WordPress/Classes/ViewRelated/Blog/My Site/MySiteViewController.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,9 +282,10 @@ class MySiteViewController: UIViewController, NoResultsViewHost {
282282
///
283283
/// - Scroll view
284284
/// - Stack view
285+
/// - Site picker view controller
285286
/// - Segmented control container view
286287
/// - Segmented control
287-
/// - Child view controller
288+
/// - Blog dashboard view controller OR blog details view controller
288289
///
289290
private func setupConstraints() {
290291
view.addSubview(scrollView)
@@ -739,6 +740,9 @@ class MySiteViewController: UIViewController, NoResultsViewHost {
739740

740741
embedChildInStackView(blogDetailsViewController)
741742

743+
// This ensures that the spotlight views embedded in the site picker don't get clipped.
744+
stackView.sendSubviewToBack(blogDetailsViewController.view)
745+
742746
blogDetailsViewController.showInitialDetailsForBlog()
743747
}
744748

0 commit comments

Comments
 (0)