kgellci / Area51

Open source Reddit client for iOS built entirely in Swift
GNU General Public License v3.0
143 stars 32 forks source link

UI Issue with UISearchBar in Landscape mode #82

Closed dulithadabare closed 5 years ago

dulithadabare commented 5 years ago

Describe the bug When the Search Bar is focused in landscape mode, the top part of the search bar seems to be cutoff. Issue can be avoided by disabling the animation for moving the title of the view upwards. To Reproduce Steps to reproduce the behavior:

  1. Go to Subreddits view
  2. Rotate device to landscape mode
  3. Click on the Search Bar to focus on it and bring up the keyboard
  4. See error

Expected behavior There should be a space between the edge of the screen and the Search Bar. The Search Bar should be completely visible Screenshots

screen shot 2019-02-25 at 8 09 06 pm

Smartphone (please complete the following information):

Additional context The issue can be avoided by disabling the UI animation which occurs when the Search Bar is focused.

RJ-Clegg commented 5 years ago

Since this seems to be an OS level bug and a rather minor one at that... closing this.