wordpress-mobile / WordPress-Editor-iOS

⛔️ [DEPRECATED] A reusable iOS rich text editor component.
GNU General Public License v2.0
1.06k stars 210 forks source link

Can't schedule a post on iPhone 5 - publish settings are broken #846

Closed rachelmcr closed 7 years ago

rachelmcr commented 8 years ago

Expected behavior

In the post settings, I expect to be able to select a publish date for my post and schedule or backdate it.

Actual behavior

On the iPhone 5, the date selector is broken and I can't schedule/backdate posts. (The date selector is also broken on the iPhone 5s, but if you select a past/future date you can still backdate/schedule posts as expected.)

The blue bar at the top of the date selector is missing:

simulator screen shot aug 10 2016 10 29 23 am

And after I select a future date, the post status still only gives the "Published" option (instead of switching to a "Scheduled" option):

simulator screen shot aug 10 2016 10 30 04 am

Steps to reproduce

  1. Using an iPhone 5 (or iPhone 5 emulator) open the app
  2. Start a new post
  3. Open the post settings
  4. Tap on Publish to open the date selector and note the missing bar at the top of the date selector
  5. Select a future date
  6. Tap on Status and note that there is a Published status option instead of Scheduled.
    Tested on latest develop branch in an iPhone 5 and iPhone 5s emulator. Works as expected on iPhone 6 (emulator and real device).
    Reported in 100311-h
frosty commented 7 years ago

Fixed by https://github.com/wordpress-mobile/WordPress-iOS/pull/6231#merged-event%23merged-event