wordpress-mobile / MediaPicker-iOS

WPMediaPicker is an iOS controller that allows capture and picking of media assets.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Empty view incorrect placement

hassaanelgarem opened this issue · comments

Description

The empty view doesn't fill the whole screen and is not centered.

Steps to reproduce

  1. Run WPiOS
  2. Switch to a site that has no media uploaded
  3. Open Media
  4. Observe that the custom empty view is misplaced
  5. Upload an image
  6. Type in anything in the search bar till no results match
  7. Observe that the no results label is misplaced.

Expected behavior

Empty view to be correctly placed and centered within the picker view.

Screenshots

No Media No Search Results
EmptyMediaIssue Simulator Screen Shot - iPhone 13 Pro - 2022-04-28 at 06 49 59

Tested on

  • Device: iPhone 13 Pro / Simulators
  • OS: iOS 15.4